Skip to content

Instantly share code, notes, and snippets.

@brianloveswords
Created September 18, 2013 00:17
Show Gist options
  • Save brianloveswords/6602673 to your computer and use it in GitHub Desktop.
Save brianloveswords/6602673 to your computer and use it in GitHub Desktop.
setImmediate(function () {
console.log('immediate')
})
setTimeout(function () {
console.log('timeout 0')
}, 0)
process.nextTick(function () {
console.log('next tick')
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment