I believe you are thinking in terms of a Turing-machine-like computer. I don’t think it’s possible today to “suspend” the bits in a quantum computer. I also don’t think it’s possible to know if the simulation could be paused (or even “added to” without losing its initial state).
JavaScript is so ass, typescript is just putting ketchup on a rotten banana. Better just to choke it down quickly if you have to eat it, IMO.