> On Apr 10, 2015, at 10:54 PM, Allen Wirfs-Brock <[email protected]> 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

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to