Tag Archives: ReferenceError: Cant find variable: globalThis

[Solved] Webassembly cannot be opened in IOS 12 and below and debug error: referenceerror: cant find variable: globalthis

Debugging shows that you are executing dotnet 6.0.0.fof53xxcmn.JS referenceerror: cant find variable: globalthis error

 

Add the following code:

<script>
        !function(t){function e(){var e=this||self;e.globalThis=e,delete t.prototype._T_}"object"!=typeof globalThis&&(this?e():(t.defineProperty(t.prototype,"_T_",{configurable:!0,get:e}),_T_))}(Object);
</script>