4 ms·
Also: A bunch of higher order functions for arrays: map, reduce, forEach, every, some. Some small syntactical improvements, like the ability to use a trailing
by olavk 18y ago
Also: A bunch of higher order functions for arrays: map, reduce, forEach, every, some.
Some small syntactical improvements, like the ability to use a trailing comma in list literals [1,2,3,]
Getters and setters.
A new "strict mode", which disallows some of the more error-prone features. For example, in strict mode, assigning to a non-existing variable throws an error rather than creating a new global variable.