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

Function has

test/fixtures/wpt/wasm/jsapi/table/constructor.any.js:98–100  ·  view source on GitHub ↗
(o, x)

Source from the content-addressed store, hash-verified

96test(() => {
97 const proxy = new Proxy({}, {
98 has(o, x) {
99 assert_unreached(`Should not call [[HasProperty]] with ${x}`);
100 },
101 get(o, x) {
102 switch (x) {
103 case "element":

Callers

nothing calls this directly

Calls 1

assert_unreachedFunction · 0.50

Tested by

no test coverage detected