decord/source/__polyfill/00xxx/module_174.js
github-actions e510164e6b chore: update source for alpha 346.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
2026-09-10 05:38:07 +00:00

22 lines
554 B
JavaScript

// Module ID: 174
// Function ID: 175
// Dependencies: [123, 175]
// Module 174
import polyfillObjectProperty from "polyfillObjectProperty" /* 123 */;
const require = globalThis.__r;
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("valuePromise").default);
}