Last active
August 10, 2019 18:54
-
-
Save rintoandrews90/06b53fee2a85681834e79ea49e389f7a to your computer and use it in GitHub Desktop.
Async Task Node.js
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('Starting') | |
setTimeout( () => { | |
console.log('2 Second Timer') | |
},2000) //2 Secondes | |
setTimeout( () => { | |
console.log('0 Second Timer') | |
},0) //2 Secondes | |
console.log('Stopping') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment