MCPcopy Index your code
hub / github.com/nodejs/node / func

Function func

deps/v8/test/mjsunit/es6/unscopables.js:653–663  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

651
652function TestFunctionArgumentsUnscopables() {
653 var func = function() {
654 var arguments = 'local';
655 var args = func.arguments;
656 with (func) {
657 assertEquals(args, arguments);
658 func[Symbol.unscopables] = {arguments: true};
659 assertEquals('local', arguments);
660 delete func[Symbol.unscopables];
661 assertEquals(args, arguments);
662 }
663 }
664 func(1);
665}
666TestFunctionArgumentsUnscopables();

Callers 15

TestFunctionLocalFunction · 0.70
TestFunctionContextFunction · 0.70
TestBlockLocalFunction · 0.70
TestBlockContextFunction · 0.70
CheckFunctionFunction · 0.70
testBaselineAndOptFunction · 0.70
testBaselineAndOptFunction · 0.70
TestFunction · 0.70

Calls 1

assertEqualsFunction · 0.50

Tested by 1

testFunction · 0.40

Used in the wild real call sites across dependent graphs

searching dependent graphs…