That's the entire point of WASM: To program in the browser using any language you want.
IMO, the big flaw is WASM is that browser APIs aren't "first class." IE, all calls to the browser APIs have to go through JavaScript.
In principle I support WASM, but in actuality I think it falls short for the majority of applications. It's much easier to learn JS than the web platform. Might as well learn it in the primary language.
This is why there are also languages like TypeScript, but they wouldn't work in our case because we want to keep the corpus of languages small.
Just because I know JavaScript doesn’t mean I want to use it. It’s an ugly and cumbersome language.
But the biggest problem of the web isn't actually JS or WASM, but the inflexible DOM and the (for the most part) poorly designed web APIs.