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

Function f

deps/v8/test/mjsunit/arguments-load-across-eval.js:32–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30// Test loading across an eval call that does not shadow variables.
31function testNoShadowing(x, h) {
32 function f() {
33 eval('1');
34 assertEquals(1, x);
35 assertEquals(2, h());
36 function g() {
37 assertEquals(1, x);
38 assertEquals(2, h());
39 }
40 g();
41 }
42 f();
43}
44

Callers 3

testNoShadowingFunction · 0.70
testNoShadowing2Function · 0.70
testShadowingFunction · 0.70

Calls 4

evalFunction · 0.70
gFunction · 0.70
assertEqualsFunction · 0.50
hFunction · 0.50

Tested by

no test coverage detected