Last active
September 12, 2017 03:56
-
-
Save elisechant/c1f3b795880a1daf46373dd5eb118db1 to your computer and use it in GitHub Desktop.
scaling-timeout.js
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
const RETRIES = 10; | |
[...Array(RETRIES).keys()].forEach(i => { | |
const timeout = Math.pow(2, i); | |
console.log(timeout); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment