But we can already use Google Closure compiler.
Also Nim is already readable and can already target WASM. I expect going to WASM through C or directly via LLVM is much more efficient. Javascript and Typescript probably lose all relevant type information, especially for integers and arrays. I expect JS -> WASM compilers need a lot more heuristics to understand what the programmer meant when C/C++/LLVM IR carry a lot more information.
