Skip to content

Instantly share code, notes, and snippets.

@davidjsalazarmoreno
Last active May 29, 2019 03:06
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 davidjsalazarmoreno/4e1b282ef153c8f0ff2b7622875b385e to your computer and use it in GitHub Desktop.
Save davidjsalazarmoreno/4e1b282ef153c8f0ff2b7622875b385e to your computer and use it in GitHub Desktop.
Entendiendo el Event Loop o Bucle de Eventos en Javascript
function segundoAlStack() {
var foo = 20 * 100;
return foo;
}
function primeroAlStack() {
var bar = 5;
var foo = segundoAlStack();
return bar + foo;
}
console.log( primeroAlStack() );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment