On Tue, Nov 27, 2018 at 3:24 AM Ranando King
<[email protected]> wrote:
> ...and from a class POV, the prototype serves the role of the
> class template...

Not in a prototypical language. Again, prototypes are living objects
(even though lots of code doesn't make use of that fact). Code that
*does* isn't uncommon, and can't just suddenly work differently.

As Jordan said, `new` can't be changed in an incompatible way.

> As for your suggestion, that doesn't work when the element being
> changed is on a sub-property of the object.

Depending on the use case, you just repeat the pattern, or use a Proxy, or...

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

Reply via email to