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

Function testEvalDontShadow

deps/v8/test/mjsunit/global-load-from-nested-eval.js:57–60  ·  view source on GitHub ↗
(source)

Source from the content-addressed store, hash-verified

55
56// Eval that does not shadow.
57function testEvalDontShadow(source) {
58 eval('1');
59 eval('eval(' + source +')');
60}
61testEvalDontShadow('assertEquals(42, x)');

Callers 1

Calls 1

evalFunction · 0.70

Tested by

no test coverage detected