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

Function test_field

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

Source from the content-addressed store, hash-verified

180test_constant_function();
181
182function test_field() {
183 var o = { };
184 o.f = function() {};
185 o.f = function() { "use strict"; return this; };
186 this.__proto__ = o;
187 for (var i = 0; i < 10; i++) assertEquals(void 0, f());
188}
189test_field();

Calls 2

fFunction · 0.70
assertEqualsFunction · 0.50

Tested by

no test coverage detected