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

Function has

deps/v8/test/mjsunit/delete.js:30–30  ·  view source on GitHub ↗
(o, k)

Source from the content-addressed store, hash-verified

28// We use the has() function to avoid relying on a functioning
29// implementation of 'in'.
30function has(o, k) { return typeof o[k] !== 'undefined'; }
31
32assertTrue(delete null);
33assertTrue(delete 2);

Callers 1

delete.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected