MCPcopy Create free account
hub / github.com/marijnh/Eloquent-JavaScript / hop

Function hop

src/run_tests.mjs:141–143  ·  view source on GitHub ↗
(obj, prop)

Source from the content-addressed store, hash-verified

139}
140
141function hop(obj, prop) {
142 return Object.prototype.hasOwnProperty.call(obj, prop)
143}
144
145function representSimpleObj(val) {
146 let out = "{", name = constructorName(val)

Callers 1

representSimpleObjFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected