Created
October 18, 2019 18:36
-
-
Save minustime/0540d41cd300a979436fa08b8bbba6f9 to your computer and use it in GitHub Desktop.
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
| // Extract BX value | |
| "rxx=1xkasqt9aka.1nekmbr1&v=1; GUCS=AUxHjsOA; BX=89bjrhten2bip&b=3&s=20; GUC=AQEBAQFdcnReRUIgDQTM&s=AQAAAFvErWag&g=XXEuZA; firstview=1567698522; breaking-news=3" | |
| // What does this function do? | |
| const a = b => new Promise(c => setTimeout(c, 200, b * 2)); | |
| // In serial | |
| // a(1) | |
| // a(1) | |
| // a(1) | |
| // Make run in parallel | |
| (async function() { | |
| // Your code here | |
| const results = ''; | |
| console.log(results); | |
| })(); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment