12 lines
130 B

var Foo = function () {
this.isFoo = true;
};
Foo.prototype = {
answer: function () {
return 42;
}
};
var foo = new Foo();