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

Function test_constant_function

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

Source from the content-addressed store, hash-verified

173outer_eval_conversion3(eval, 'undefined');
174
175function test_constant_function() {
176 var o = { f: function() { "use strict"; return this; } };
177 this.__proto__ = o;
178 for (var i = 0; i < 10; i++) assertEquals(void 0, f());
179}
180test_constant_function();
181
182function test_field() {

Calls 2

fFunction · 0.70
assertEqualsFunction · 0.50

Tested by

no test coverage detected