Currently JIT in wasm is incomplete. That is a wasm program cannot modify itself (it would need to create new modules and ask the host to load them with a shared memory)
So compiling JS to wasm would probably be limited to the performance of interpreting JS on native
So compiling JS to wasm would probably be limited to the performance of interpreting JS on native