Skip to content

Instantly share code, notes, and snippets.

Last active Aug 24, 2020
What would you like to do?
non-blocking code
console.log('1.Starting up')
setTimeout(() => {
console.log('2.Two seconds!')
}, 2000)
setTimeout(() => {
console.log('3.Zero seconds!')
}, 0)
console.log('4.Finishing up')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment