pub fn init()Expand description
Initialize the WASM module.
This function is called automatically when the WASM module is loaded. It sets up panic hooks for better error messages in the browser console, and points core’s scan diagnostics at that console too.