mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
17 lines
228 B
JavaScript
17 lines
228 B
JavaScript
function A() {
|
|
this.x = 42;
|
|
this.foo = function() {};
|
|
}
|
|
|
|
A.prototype.bar = function() {};
|
|
|
|
var a = new A();
|
|
var x1 = a.x;
|
|
var x2 = a.foo;
|
|
var x3 = a.bar;
|
|
|
|
function SubA() {}
|
|
SubA.prototype = new A();
|
|
|
|
var subA = new SubA();
|