Why is this "better"? In the inheritance case, the super function can be called without explicitly referring to the parent class. One can just write:
var Class = require'better-js-class';var A = Classthis_bar = 'bar';console.log'foo ' + this_bar;;var B = ClassAthisparent_initcallthis;console.log'kaz ' + this_bar;;var a = ;afoo;akaz;
The constructor function's name is conventioned to be "_init".