Why JavaScript feels like a messy and frustrating programming language

I’ve been working with JavaScript for a while now and I’m getting really frustrated with it. Here are the main issues I keep running into:

Too many variations: People keep making new versions and frameworks because the original language has so many problems.

Confusing standards: There are tons of different JavaScript standards and they don’t work well together.

Package manager problems: NPM makes it way too easy to add dependencies. You end up with hundreds of libraries and huge file sizes just for one framework. Most of this stuff could be written by hand like in other languages.

Browser API issues: The browser APIs are confusing and poorly organized.

Import confusion: There are multiple ways to import modules which makes everything harder.

Performance and readability: It’s slower and harder to read than Python.

Better alternatives exist: WebAssembly is available as an alternative.

Math operations are weird: The way JavaScript handles math is strange and unpredictable.

Am I missing something or do other developers feel the same way about these JavaScript problems? How do you deal with these issues in your projects?