There is a joke: Ask 10 JavaScript devs a question, you get 11 answers. JavaScript is the greatest and worst language ever created. It’s easy to use as long as you can find help by someone who does it EXACTLY like you code.
Angular dumped JavaScript for TypeScript with Angular 2. React has more recently come over to the Typed side and now has React TS. TypeScript is also much easier for C# devs to understand so building full-stack devs is a lot easier now.
And TypeScript is still only the shell of AI, the prompt window. That can be done by many other languages. You want Python and C++ for a deeper understanding of AI.
NextJS is now pretty much the standard for webapps, if you use Server-Side components.