5 ms·
_.each blocks. Yes, you are right that it does it in the same way that "var x = 1" blocks. You cannot interrupt "var x = 1" and you cannot interrupt a javascri
by xer0x 15y ago
_.each blocks. Yes, you are right that it does it in the same way that "var x = 1" blocks.
You cannot interrupt "var x = 1" and you cannot interrupt a javascript forEach while it is looping over an array. With a really large array this is going to cause problems, like that infamous fibonacci example.
Seriously, try it. It's not like a C program.