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

Function innerArrayLiteral

deps/v8/test/mjsunit/array-constructor.js:56–62  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

54
55
56function innerArrayLiteral(n) {
57 var a = new Array(n);
58 for (var i = 0; i < n; i++) {
59 a[i] = i * 2 + 7;
60 }
61 return a.join();
62}
63
64function testConstruction(len, elements_str) {
65 var a = eval('[' + elements_str + ']');

Callers 1

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…