Skip to content

Instantly share code, notes, and snippets.

@Klerith
Last active May 25, 2025 22:59
Show Gist options
  • Save Klerith/50d4ea23799836220c07cf39e42724fb to your computer and use it in GitHub Desktop.
Save Klerith/50d4ea23799836220c07cf39e42724fb to your computer and use it in GitHub Desktop.
Ejercicio de explicación del Event Loop y Node execution
console.log('Inicio de programa');
setTimeout( () => {
console.log('Primer Timeout');
}, 3000 );
setTimeout( () => {
console.log('Segundo Timeout');
}, 0 );
setTimeout( () => {
console.log('Tercer Timeout');
}, 0 );
console.log('Fin de programa');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment