wasmerio / winterjs

Winter is coming... ❄️
https://winterjs.org/
MIT License
3.04k stars 53 forks source link

Add support for defining global objects via TS/JS scripts #79

Closed Arshia001 closed 5 months ago

Arshia001 commented 6 months ago

As per the discussion in #76, it would be beneficial to support adding global objects (as opposed to importable modules) in JS. Once this is implemented, the code from #76 should be moved to the global scope as well.

cc @MasatoDev

syrusakbary commented 5 months ago

This is done in main