Last active
May 25, 2025 22:59
-
-
Save Klerith/50d4ea23799836220c07cf39e42724fb to your computer and use it in GitHub Desktop.
Ejercicio de explicación del Event Loop y Node execution
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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