Hacker News new | ask | show | jobs
by jakub_g 4611 days ago
ES6 brings "rest parameter" [0].

function(param1, param2, ...rest) {}

[0] http://ariya.ofilabs.com/2013/03/es6-and-rest-parameter.html