JavaScript beats Python by a lot in terms of the number of bugs meaning like way more bugs in JavaScript. The fact that JavaScript is primarily the language for developing web applications especially the client side makes that community sort of just have a different nature than the community of other languages.