Cyril Auburtin (2016-05-29T20:56:18.000Z)
cyril.auburtin at gmail.com (2016-08-11T11:07:05.824Z)
Since functions arguments is an array under the hood, they could 'more behave the same' Both function arguments and arrays accept spreading: `[1, 2, ...args]` and `fn(1,2, ...args)` a function definition like `(,i) => {}`, would be the equivalent of `var [,i] = arguments` an invocation `fn(,,i)` would be the equivalent of `[,,i]` It's possible with `(...[,i]) => {}, (_,i)=>{}` like Renki said, but slightly less simply Are there possible issues with that 'extension' of function syntax?
cyril.auburtin at gmail.com (2016-05-31T20:36:33.501Z)
Since functions arguments is an array under the hood, they could 'more behave the same' Both function arguments and arrays accept spreading: `[1, 2, ...args]` and `fn(1,2, ...args)` a function definition like `(,i) => {}`, would be the equivalent of `var [,i] = arguments` an invocation `fn(,,i)` would be the equivalent of `[,,i]` It's possible with `(...[,i]) => {}, (_,i)=>{}` like Renki said, but slightly less simply Are there possible issues with that 'extension' of function syntax? 2016-05-29 21:32 GMT+02:00 Renki Ivanko <fatalis.erratum at gmail.com>:
cyril.auburtin at gmail.com (2016-05-31T20:36:11.090Z)
Since functions arguments is an array under the hood, they could 'more behave the same' Both function arguments and arrays accept spreading: `[1, 2, ...args]` and `fn(1,2, ...args)` a function definition like `(,i) => {}`, would be the equivalent of `var [,i] = arguments` an invocation `fn(,,i)` would be the equivalent of `[,,i]` It's possible with `(...[,i]) => {}, (_,i)=>{}` like Renki said, but slightly less simply Are there possible issues with that 'extension' of function syntax? 2016-05-29 21:32 GMT+02:00 Renki Ivanko <fatalis.erratum at gmail.com>: