MCPcopy
hub / github.com/skatejs/skatejs / prop

Function prop

packages/ssr/register/util.js:49–54  ·  view source on GitHub ↗
(obj, name, opts)

Source from the content-addressed store, hash-verified

47}
48
49function prop(obj, name, opts) {
50 Object.defineProperty(obj, name, {
51 ...{ configurable: true, enumerable: true },
52 ...opts
53 });
54}
55
56function walk(root, call) {
57 if (!root) return;

Callers 4

Element.jsFile · 0.70
defineMethod · 0.70
Node.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected