Addendum: With the definition of the new operator as below (for non-function
operands, if the operand is a function, things stay the same), do you think a
reference from Person.constructor.prototype to Person is still necessary?
> operator new(proto, ...args) {
> let o = Object.create(proto);
> o.constructor(…args);
> return o;
> }
--
Dr. Axel Rauschmayer
[email protected]
twitter.com/rauschma
Home: rauschma.de
Blog: 2ality.com
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss