Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
xiaoma
· 11y ago · 0 comments
Classes are not an improvement. See Crockford:
https://www.youtube.com/watch?v=bo36MrBfTk4
Comments
[–]
randomguy7788
11y ago
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.
[–]
BrendanEich
11y ago
`new.target` ;-).
/be
[–]
randomguy7788
11y ago
Thanks for the correction :)
[–]
BrendanEich
11y ago
Out of date, as usual :-P.