The core problem with Java applets was that they were Java applets
An option to keep the source of the web app closed will fragment the web dev community yet again.
With all the bundlers and minifiers manglers etc, delivered js is already as closed as a wasm binary would be.
Meaningless hyperbole - there are plenty. You're posting on one right now.
Hacker News and at least every Wordpress site. So that covers a significant portion of the existing web.
But this changes nothing. It was always possible to obfuscate JavaScript, just like every other programming language.
The core problem with Java applets was that they were Java applets
An option to keep the source of the web app closed will fragment the web dev community yet again.