Re:Introducing Hooks
by WorldMaker on Thursday October 25, 2018 @06:05PM
(#18304992)
Prototypal inheritance, and scope controls more refined/easier to work with than IIFEs. In the end the class notation is "simply" syntax sugar giving the object syntax the benefit of Function.prototype and IIFE closures, without having to resort to layers of either/both.
[ Parent
| on HN ]
There are no comments on this comment yet.