Y
Hacker News
new
|
ask
|
show
|
jobs
by
haffla
3368 days ago
What? The mentioned Array methods (map, reduce, filter, etc..) are not new ES6 features
4 comments
bertolo1988
3368 days ago
They are not indeed:
http://www.ecma-international.org/ecma-262/5.1/#sec-15.4.4.2...
link
paradite
3368 days ago
Yup, I've been using them since forever ago.
> Standard ECMA-262 5.1 Edition / June 2011
link
curveship
3368 days ago
.find() and .findIndex() are new in es6, but the others are all es5.
link
ricemast
3367 days ago
Nowhere does it say "new" features.
link
haffla
3366 days ago
"New cool helper functions appeared..."
link