decord/source/174_polyfillObjectProperty.js
2026-08-24 06:08:38 +00:00

21 lines
581 B
JavaScript

// Module ID: 174
// Function ID: 175
// Name: polyfillObjectProperty
// Dependencies: [123, 175]
// Module 174 (polyfillObjectProperty)
import polyfillObjectProperty from "polyfillObjectProperty" /* 123 */;
let hasPromiseResult;
if (global != null) {
const _HermesInternal = global.HermesInternal;
if (_HermesInternal != null) {
if (_HermesInternal.hasPromise != null) {
hasPromiseResult = hasPromise();
}
}
}
if (!hasPromiseResult) {
const _module = polyfillObjectProperty;
_module.polyfillGlobal("Promise", () => require(175) /* finally */.default);
}