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

Function init_sparse_array

deps/v8/test/mjsunit/polymorph-arrays.js:35–41  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

33}
34
35function init_sparse_array(a) {
36 for (var i = 0; i < 10; ++i ){
37 a[i] = i;
38 }
39 a[200000] = 256;
40 return %NormalizeElements(a);
41}
42
43function testPolymorphicLoads() {
44 function make_polymorphic_load_function() {

Callers 4

testPolymorphicLoadsFunction · 0.85
testPolymorphicStoresFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected