MCPcopy Create free account
hub / github.com/Distributive-Network/PythonMonkey / enumerable

Function enumerable

tests/js/quint.js:54–58  ·  view source on GitHub ↗
(obj, propertyName)

Source from the content-addressed store, hash-verified

52 if (!fn.toString().includes('[native code]')) throw new Error(`'${fn}' does not look native`);
53 },
54 enumerable(obj, propertyName)
55 {
56 const descriptor = Object.getOwnPropertyDescriptor(obj, propertyName);
57 if (!descriptor.enumerable) throw new Error(`'${obj[Symbol.toStringTag]}.${propertyName}' is not enumerable`);
58 },
59};
60
61const QUnit = {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected