Re:Strengthening JavaScript
by xiaoma on Wednesday March 11, 2015 @05:48AM
(#9183318)
Classes are not an improvement. See Crockford: https://www.youtube.com/watch?v=bo36MrBfTk4
[ Parent
| on HN ]
Re:Strengthening JavaScript
by randomguy7788 on Wednesday March 11, 2015 @08:14PM
(#9188383)
it used to not be, but with the reversal of the `this` creation and addition and use of `target.new` in constructor functions we are now able to extend Exotic types like array.
Re:Strengthening JavaScript
by BrendanEich on Wednesday March 11, 2015 @08:47PM
(#9188523)
`new.target` ;-).
/be
Re:Strengthening JavaScript
by randomguy7788 on Thursday March 12, 2015 @02:56AM
(#9189496)
Thanks for the correction :)
Re:Strengthening JavaScript
by BrendanEich on Wednesday March 11, 2015 @08:17PM
(#9188399)
Out of date, as usual :-P.