News for hackers. Stuff that matters.
Re:GNU ease.js by TazeTSchnitzel on Wednesday March 26, 2014 @05:56PM (#7476933)
ES6 adds minimal JS classes, which I'm a fan of. They're just syntactic sugar over:

    Animal = function () {};
    Dog = function () {};
    Dog.prototype = Object.create(Animal);
But this? This is an abomination.
Re:GNU ease.js by kybernetikos on Wednesday March 26, 2014 @06:22PM (#7477077)
that's Object.create(Animal.prototype), and they do add a little more, like a working 'super', and getting the .constructor property right.