Last active
July 5, 2021 04:29
-
-
Save bulkan/54e6f3d427417099b751aa32d39ee033 to your computer and use it in GitHub Desktop.
frontend fizzbuzz
This file contains 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
// What does the following do ? | |
for(let i=0; i<=10; i++) { | |
fetch(`https://httpbin.org/get?someParam=${Date.now()}`) | |
.then(res => res.json()) | |
.then(({origin}) => console.log(`${i} - ${origin}`)); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment