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

Function g

deps/v8/test/mjsunit/strict-mode-implicit-receiver.js:41–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39
40// Test calls to strict mode function with implicit receiver.
41function g() {
42 var exception = false;
43 try { strict_get_y(); } catch(e) { exception = true; }
44 assertTrue(exception);
45}
46for (var i = 0; i < 3; i++) g();
47
48// Test calls to local strict mode function with implicit receiver.

Calls 2

strict_get_yFunction · 0.85
assertTrueFunction · 0.70

Tested by

no test coverage detected