DOM blocking is something many people not familiar with JavaScript\'s strictly single-threaded synchronous execution model find out about the hard way, and it\'s usually jus
There is nothing in Javascript related to concurrency that is anything but de facto. JS simply does not define a concurrency model. Everything is happy accident or years of consensus.
That said, if your function does not make any calls to weird things like XMLHttpRequest or "alert" or something like that, you can basically treat it as single-threaded with no interrupts.