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

Function load

deps/v8/test/mjsunit/keyed-load-null-receiver.js:6–15  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

4
5var count = 0;
6function load(a) {
7 var prop = {
8 toString: function() {
9 count++;
10 return 'z';
11 }
12 };
13
14 a[prop] ^= 1;
15}
16
17function f(null_or_undefined) {
18 // Turn the LoadIC megamorphic

Callers 1

fFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected