2 ms·
This is not the case, if your callback then goes off and does something asynchronous.
by foota 7y ago
This is not the case, if your callback then goes off and does something asynchronous.
- mc3 7y agoYes sorry I was thinking in terms of code that uses callbacks, not the async keyword. What I mean is that distinct from threading, where the following code could be interrupted between the first and second line of the function, by something that updates global: var global function addTheseToGlobal(a, b) { im = a + global return im + b }