5 ms·
I would have liked to have seen: * Skinny arrows as a shorthand for functions (for methods and constructors that don't get 'this' from outside. * Rest paramet
by skwosh 12y ago
I would have liked to have seen:
* Skinny arrows as a shorthand for functions (for methods and constructors that don't get 'this' from outside.
* Rest parameters with trailing arguments, e.g.:
function zip (...xs, f) { ... }
Seems like an oversight but I'm sure there was a reason (anyone care to comment?)...
I guess arguments parsing isn't quite dead...