A better question: Is python really any
better than JavaScript? Sure, it has advantages here and there. But there are things I like about JavaScript that are better than python. For example, having anonymous functions that are more than a single expression inside a lambda.
Yes, I know you can declare a function inside another and you get a closure. But, JavaScript's syntax is just nicer.