I've looked around trying to understand how SetInterval
but only found how to use it. I already know it's functionality, I'm just curious about how it's able to run something on a separate thread when JS doesn't support threading(at least that's what I read).
I hope I formulated the question properly.
Thanks.