always slice spread literals

This commit is contained in:
Sebastian McKenzie
2014-10-14 09:29:21 +11:00
parent 3b22cb283b
commit e97086f5f7
7 changed files with 28 additions and 16 deletions

View File

@@ -1,5 +1,7 @@
var _slice = Array.prototype.slice;
var lyrics = [
"head",
"and",
"toes"
].concat(parts);
].concat(_slice.call(parts));