How to refer to the current prototype of a class.
joe at trusktr.io
Sun Aug 7 05:20:50 UTC 2016
On Sun, Jul 31, 2016 at 4:15 AM, Claude Pache <claude.pache at gmail.com>
> What is the issue with just `Foo.prototype`?
It means it is subject to renaming (therefore mistakes) when the class
name needs to be changed. Also, consider how lengthy it is to access a
getter or setter:
current.someSetter = value
Having such a keyword for convenience may also encourage class designers to
avoid the [Fragile Base Class Problem](
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss