blob: e59a06614f210224039335c15d45c4d6ca5ae090 [file] [log] [blame]
// 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);