Skip to content

Instantly share code, notes, and snippets.

@calvinmetcalf
Last active December 23, 2015 10:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save calvinmetcalf/6625099 to your computer and use it in GitHub Desktop.
Save calvinmetcalf/6625099 to your computer and use it in GitHub Desktop.
window.addEventListener('message',function(e){console.log('called')})
(function(){
setImmediate(function(){
console.log('a');
setImmediate(function(){
console.log('b');
});
console.log('c');
});
setImmediate(function(){
console.log('d');
});
console.log('e');
})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment