Source code
Revision control
Copy as Markdown
Other Tools
function Obj() {
this.a = 1;
}
Obj.prototype = this;
function test() {
return o.a;
}
var o = new Obj();
test();
function Obj() {
this.a = 1;
}
Obj.prototype = this;
function test() {
return o.a;
}
var o = new Obj();
test();