Comment Re:synergy with html 5 (Score 1) 164
Fully agreed. Maybe I'd like to see a class keyword that extends the object literal syntax to allow simple prototype definition, though...
class Person {
prettyName: function () {return firstName + " " + lastName}
}
Ok, perhaps also something like new Person() {firstName: "Bernd"})
class Person {
prettyName: function () {return firstName + " " + lastName}
}
Ok, perhaps also something like new Person() {firstName: "Bernd"})