You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using a gopherjs binary with QuickJS, which uses globalThis for its global. I wonder if it's possible to support globalThis in the prelude to work out of the box with QuickJS.
I am using a gopherjs binary with QuickJS, which uses
globalThis
for its global. I wonder if it's possible to supportglobalThis
in the prelude to work out of the box with QuickJS.gopherjs/compiler/prelude/prelude.js
Line 17 in cfa0783
It's not difficult to shim though so not a big deal either way.
https://github.com/wasilibs/go-prettier/blob/main/buildtools/wasm/global.ts#L1
(globalThis as any).self = globalThis;
The text was updated successfully, but these errors were encountered: