Source code

Revision control

Copy as Markdown

Other Tools

// vim: set ts=8 sts=4 et sw=4 tw=99:
function f(a) {
var x = {
g: function () {
return this.a;
}
};
x.g.prototype.a = a;
assertEq(x.g.prototype.a, a);
return x;
}
f(1);
f(2);
f(3);