For example:
function Person(name) {
this.name = name;
this.kill = function() { this.name += " is dead"; };
}
var a = new Person("Kenny");
a.kill();
Why can't 42TinyJS support this usage?
And how can I do?
Original issue reported on code.google.com by zhoujr.m...@gmail.com on 31 Dec 2011 at 3:55
Original issue reported on code.google.com by
zhoujr.m...@gmail.com
on 31 Dec 2011 at 3:55