MCPcopy Create free account
hub / github.com/nodejs/node / newarraycase_onearg

Function newarraycase_onearg

deps/v8/test/mjsunit/allocation-site-info.js:295–299  ·  view source on GitHub ↗
(len, value)

Source from the content-addressed store, hash-verified

293})();
294
295function newarraycase_onearg(len, value) {
296 var a = new Array(len);
297 a[0] = value;
298 return a;
299}
300
301obj = newarraycase_onearg(5, 3.5);
302assertKind(elements_kind.fast_double, obj);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected