This brillinat article goes into all the nitty gritty details: https://realpython.com/python-vs-javascript/