Maybe, hopefully not, but even if it is: with WebAssembly, you’ll be able to (you already can actually but it’s not very widely used) compile and run many languages in the browser, other than JavaScript.
I wouldn’t really recommend learning JavaScript as your first language, it’s pretty weird. Unless you really want to learn web development, then go for it! maybe check out TypeScript though - there’s a lot of learning material for both online.
And it’s a pretty funny one too!
https://github.com/TodePond/DreamBerd