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

Function get_deep_nested_literal

deps/v8/test/mjsunit/allocation-site-info.js:399–402  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

397
398 // A more complex nested literal case.
399 function get_deep_nested_literal() {
400 var literal = [[1], [[2], "hello"], 3, [4]];
401 return literal;
402 }
403
404 obj = get_deep_nested_literal();
405 assertKind(elements_kind.fast_smi_only, obj[1][0]);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected