Index: src/js/spread.js |
diff --git a/src/js/spread.js b/src/js/spread.js |
index 235c91ab7928b00597ac2b5e9f093835a76e6647..82ea83959853634d274089d13b54bc4db6918b01 100644 |
--- a/src/js/spread.js |
+++ b/src/js/spread.js |
@@ -18,11 +18,11 @@ utils.Import(function(from) { |
// ------------------------------------------------------------------- |
function SpreadArguments() { |
- var count = %_ArgumentsLength(); |
+ var count = arguments.length; |
var args = new InternalArray(); |
for (var i = 0; i < count; ++i) { |
- var array = %_Arguments(i); |
+ var array = arguments[i]; |
var length = array.length; |
for (var j = 0; j < length; ++j) { |
args.push(array[j]); |