I hereby claim:
- I am oxcarga on github.
- I am oxcar (https://keybase.io/oxcar) on keybase.
- I have a public key ASD6UXY8dmNADTIA_5AAtJ-3e6vck2DlHc5Z9nhqPCYMSQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
// | |
// This will run the promises right away | |
// | |
var arr = [ | |
new Promise((res, rej) => { | |
console.log(" -UNO- "); | |
const timeout = 7; | |
setTimeout(() => { | |
res(`|FIRST | -> ${timeout} seconds`); | |
}, timeout * 1000) |
function* makeIterator(_arr) { | |
for (let i = 0; i < _arr.length; i++) { | |
yield _arr[i](i); | |
} | |
} | |
var arr = [ | |
() => new Promise((res, rej) => { | |
const timeout = 15; | |
setTimeout(() => { | |
res(`|FIRST | -> ${timeout} seconds`); |