Javascript is a larger technical mess once you pull it open and look inside.
But for day to day use it's much better than Python. They've done a fantastic job overall allowing you not to need to worry about all the different formats and transpilers and whatnot.