MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / set

Function set

lib/plugin/expose.js:141–145  ·  view source on GitHub ↗
(_, prop, value)

Source from the content-addressed store, hash-verified

139 return target?.apply(thisArg, args)
140 },
141 set(_, prop, value) {
142 const target = resolve()
143 if (target != null) target[prop] = value
144 return true
145 },
146 getPrototypeOf() {
147 const target = resolve()
148 return target != null ? Object.getPrototypeOf(target) : null

Callers

nothing calls this directly

Calls 1

resolveFunction · 0.85

Tested by

no test coverage detected