5 ms·
By default, a WebAssembly module has no access to any host APIs — particularized for the web platform, a running module will have no way of accessing the DOM by
by matei_radu 5y ago
By default, a WebAssembly module has no access to any host APIs — particularized for the web platform, a running module will have no way of accessing the DOM by default.
When instantiating a module, it can use module imports [1], which can be used to access the DOM through JavaScript calls.
[1]: https://webassembly.github.io/spec/core/syntax/modules.html#syntax-import https://webassembly.github.io/spec/core/syntax/modules.html#...