I would be happy to stand corrected if someone knows more about this, though!
I suspect most JavaScript code is JIT-compiled - but most Python, Ruby etc is interpreted (via bytecode).
https://peps.python.org/pep-0744/
I would be happy to stand corrected if someone knows more about this, though!