Function
exposeNamespace
(target, name, namespaceObject)
Source from the content-addressed store, hash-verified
| 619 | |
| 620 | // https://heycam.github.io/webidl/#es-namespaces |
| 621 | function exposeNamespace(target, name, namespaceObject) { |
| 622 | ObjectDefineProperty(target, name, { |
| 623 | __proto__: null, |
| 624 | writable: true, |
| 625 | enumerable: false, |
| 626 | configurable: true, |
| 627 | value: namespaceObject, |
| 628 | }); |
| 629 | } |
| 630 | |
| 631 | function defineReplaceableLazyAttribute(target, id, keys, writable = true, check) { |
| 632 | let mod; |
Tested by
no test coverage detected