A lot to unpack there, but the language and the implementation are different.
JavaScript and Node.js are different too.