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

Function test

deps/v8/test/mjsunit/compiler/global-delete.js:7–14  ·  view source on GitHub ↗
(expected, f)

Source from the content-addressed store, hash-verified

5// Flags: --allow-natives-syntax
6
7function test(expected, f) {
8 %PrepareFunctionForOptimization(f);
9 assertEquals(expected, f());
10 assertEquals(expected, f());
11 %OptimizeFunctionOnNextCall(f);
12 assertEquals(expected, f());
13 assertEquals(expected, f());
14}
15
16function testThrows(f) {
17 %PrepareFunctionForOptimization(f);

Callers 1

global-delete.jsFile · 0.70

Calls 2

assertEqualsFunction · 0.70
fFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…