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

Function has

test/fixtures/wpt/wasm/jsapi/memory/constructor.any.js:71–73  ·  view source on GitHub ↗
(o, x)

Source from the content-addressed store, hash-verified

69test(() => {
70 const proxy = new Proxy({}, {
71 has(o, x) {
72 assert_unreached(`Should not call [[HasProperty]] with ${x}`);
73 },
74 get(o, x) {
75 // Due to the requirement not to supply both minimum and initial, we need to ignore one of them.
76 switch (x) {

Callers

nothing calls this directly

Calls 1

assert_unreachedFunction · 0.50

Tested by

no test coverage detected