Skip to content

Instantly share code, notes, and snippets.

Last active Jan 3, 2018
What would you like to do?
JavaScript Promises, road to async/await -
setTimeout(() => {
console.log('inside of setTimeout()');
}, 0)
console.log('A very long for-loop incoming..');
let sum = 0;
for(let i = 1; i < 100000; i++) {
sum += i;
console.log('After the for-loop');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment