always slice spread literals
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
var _slice = Array.prototype.slice;
|
||||
foob.add.apply(foob, [
|
||||
foo,
|
||||
bar
|
||||
].concat(numbers));
|
||||
].concat(_slice.call(numbers)));
|
||||
foob.test.add.apply(foob.test, [
|
||||
foo,
|
||||
bar
|
||||
].concat(numbers));
|
||||
].concat(_slice.call(numbers)));
|
||||
|
||||
Reference in New Issue
Block a user