MCPcopy Create free account
hub / github.com/TruthHun/BookStack / def

Function def

static/vuejs/vue.js:375–382  ·  view source on GitHub ↗

* Define a property.

(obj, key, val, enumerable)

Source from the content-addressed store, hash-verified

373 * Define a property.
374 */
375function def (obj, key, val, enumerable) {
376 Object.defineProperty(obj, key, {
377 value: val,
378 enumerable: !!enumerable,
379 writable: true,
380 configurable: true
381 });
382}
383
384/**
385 * Parse simple path.

Callers 3

vue.jsFile · 0.70
ObserverFunction · 0.70
copyAugmentFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected