Created
October 1, 2018 02:37
-
-
Save nem035/2609766d80226e16aa85ffc4abe3936f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[1,2,3].forEach(function callback(num) { | |
// this code runs synchronously | |
}) | |
// this line isn't reached until the | |
// array above is fully iterated on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment