Its much easier to make wasm good. Let Go programmers use go to make websites. Why not? If its any consolation, they'll still need to learn HTML and CSS in the process. Javascript isn't going anywhere if they want to make the switch later.
ChatGPT is not just useful for banging out boilerplate code, it's much more useful for teaching programmers who are willing to learn new apis and how to code in new languages and better in the languages they already know.
And that opportunity is missed on monolinguistic coders who refuse to learn or even read the fucking manual, and just see AI as a replacement for posting "just give me the codes" and copying and pasting from Stack Overflow.
Real programmers aren't going to be replaced by AI. Programmers who refuse to use AI and refuse to learn are going to be replaced by AI and programmers who are capable and enthusiastic about learning.
People who think learning JavaScript is a hassle aren't serious programmers, because what they've actually decided is that learning is a hassle, which is a terrible dead-end anti-intellectual attitude, and they've just decided to blame their learning disability on JavaScript. Real programmers learn new things throughout their entire careers.
Yes JavaScript has flaws. But learnability isn't one of them. And WebAssembly certainly isn't any easier to learn or program in than JavaScript. The problem isn't JavaScript, it's uneducable conservative luddites who refuse to learn anything new (or even as old as JavaScript), who think they know it all already and nothing's ever going to change.
So-called programmers who think they never need to learn any other languages or anything new have much worse flaws than the languages and tools they refuse to learn.