Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
haffla
· 9y ago · 0 comments
What? The mentioned Array methods (map, reduce, filter, etc..) are not new ES6 features
Comments
[–]
bertolo1988
9y ago
They are not indeed:
http://www.ecma-international.org/ecma-262/5.1/#sec-15.4.4.2...
[–]
paradite
9y ago
Yup, I've been using them since forever ago.
> Standard ECMA-262 5.1 Edition / June 2011
[–]
curveship
9y ago
.find() and .findIndex() are new in es6, but the others are all es5.
[–]
ricemast
9y ago
Nowhere does it say "new" features.
[–]
haffla
OP
9y ago
"New cool helper functions appeared..."