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

Function def

static/vuejs/vue.runtime.common.js:367–374  ·  view source on GitHub ↗

* Define a property.

(obj, key, val, enumerable)

Source from the content-addressed store, hash-verified

365 * Define a property.
366 */
367function def (obj, key, val, enumerable) {
368 Object.defineProperty(obj, key, {
369 value: val,
370 enumerable: !!enumerable,
371 writable: true,
372 configurable: true
373 });
374}
375
376/**
377 * Parse simple path.

Callers 3

ObserverFunction · 0.70
copyAugmentFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected