* Mimics `obj[key] = value` but ignoring potential prototype inheritance. * @param {any} obj * @param {string} key * @param {any} value * @returns {any}
(obj, key, value)
| 710 | * @returns {any} |
| 711 | */ |
| 712 | function setOwnProperty(obj, key, value) { |
| 713 | ObjectDefineProperty(obj, key, { |
| 714 | __proto__: null, |
| 715 | configurable: true, |
| 716 | enumerable: true, |
| 717 | value, |
| 718 | writable: true, |
| 719 | }); |
| 720 | return value; |
| 721 | } |
| 722 | |
| 723 | let internalGlobal; |
| 724 | function getInternalGlobal() { |
no outgoing calls
no test coverage detected
searching dependent graphs…