The curse of popularity. Relatively more people using something, means higher absolute amounts of garbage being made with it. I wouldn't say modern javascript tooling gives you some obscenely high number of foot guns to target practice with, at least compared to the other web-capable options. (PHP, Python, Ruby, etc)