2014-10-14 14:58:17 +11:00

6 lines
100 B
JavaScript

var _slice = Array.prototype.slice;
add.apply(null, [
foo,
bar
].concat(_slice.call(numbers)));