if ( ended && ++complete === files.length ) {...} See the bug?https://twitter.com/WomanCorn/status/1277989013295640576 …
-
-
Yep. Preincrement combined with the short-circuiting && leads to an unclear state. I'm not sure is this is an explicitly undefined behavior, or a bug in v8. (Probably undefined, but I'd like to prove that.)
-
i don't know ++x on shared variables is black magic i think it just does it as soon as it can evaluate it, there's no block. makes sense to me. wild ass guess
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
