change(android): check globalThis before polyfill

This commit is contained in:
Joshua Horton 2025-08-19 08:08:07 -05:00
parent 0e8f34a2b3
commit 08a69b95d5

View file

@ -18,4 +18,6 @@ if(!Array.prototype.includes){
// This file is only referenced by the main Web engine; its "global" object is `window`.
// `globalThis` is defined in Chrome 71+.
var globalThis = window;
if(typeof globalThis == 'undefined') {
var globalThis = window;
}