> On Apr 10, 2015, at 10:54 PM, Allen Wirfs-Brock <allen at wirfs-brock.com> wrote: >> > > note totally true: err, “not" > > ```js > class SubArray extends Array { > constructor(…args) { > let newObj = new Array(…args); > newObj.__proto__ = SubArray.prototype; //or new.target.prototype > return newObj > } > subclassMethiod() {} > } > ``` > > Allen
(typo fix already fixed inline above)