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 @@
var a = [b, ...c, d, e, ...f];

View File

@@ -0,0 +1,3 @@
"use strict";
var _slice = Array.prototype.slice;
var a = [b].concat(_slice.call(c), [d, e], _slice.call(f));