add support for spreads anywhere in list - fixes #73

This commit is contained in:
Sebastian McKenzie
2014-10-19 14:52:37 +11:00
parent a75248d2d2
commit 42a7973a9d
13 changed files with 67 additions and 17 deletions

View File

@@ -0,0 +1,3 @@
"use strict";
var _slice = Array.prototype.slice;
add.apply(null, [foo].concat(_slice.call(numbers), [bar, what], _slice.call(test)));