Hacker News new | ask | show | jobs
by HorseWASM 3048 days ago
The DOM is accessible from WASM, Javascript functions can be imported and called just like regular functions.

In fact, that's also currently the only way to access other APIs like WebGL from WASM.