The reason why this usually works is because most browsers cannot handle a while true loop.Some browsers have a safety feature that stops while true loops if nothing is happening in the loop, which is why I run console.log().