This repository was archived by the owner on Feb 19, 2018. It is now read-only.
This repository was archived by the owner on Feb 19, 2018. It is now read-only.
CS2 Discussion: Features: Spread syntax triple dots on either right or left #85
Closed
Description
CoffeeScript’s spread syntax was adopted into ES2015, but they flipped the position of the dots from the right to the left:
foo args... # foo(...args);
We can’t flip them to the left in CoffeeScript without needlessly breaking lots of legacy code, but what about allowing the dots on either side?
foo args... # foo(...args);
# or
foo ...args # foo(...args);