MCPcopy Index your code
hub / github.com/nodejs/node / test

Function test

deps/v8/test/mjsunit/array-shift3.js:8–11  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

6
7Array.prototype[1] = "element 1";
8function test(a) {
9 a.shift();
10 return a;
11};
12%PrepareFunctionForOptimization(test);
13assertEquals(['element 1', {}], test([0, , {}]));
14assertEquals(['element 1', 10], test([9, , 10]));

Callers 1

array-shift3.jsFile · 0.70

Calls 1

shiftMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…