blob: e86224148b5f1a3342ca22da20c86066396a026d [file] [log] [blame]
(function() {
"use strict";
var TEST_LENGTH = 10;
var slice = Array.prototype.slice;
var clonedArguments = (function() { return arguments; }).apply(null, new Array(TEST_LENGTH).fill(1));
var slicedArray;
for (var i = 0; i < 1e6; i++)
slicedArray = slice.call(clonedArguments);
if (slicedArray.length !== TEST_LENGTH)
throw new Error("Bad assertion!");
})();