Source code
Revision control
Copy as Markdown
Other Tools
function C() {
this.foo = 'bar';
}
C.prototype.bar = function() {
};
assertEqual(new C().foo, 'bar');
test(function() {
return new C();
});
function C() {
this.foo = 'bar';
}
C.prototype.bar = function() {
};
assertEqual(new C().foo, 'bar');
test(function() {
return new C();
});