Last active
December 8, 2018 22:16
-
-
Save kilianc/603d8bd3eb1dacef9719648dbcef353a to your computer and use it in GitHub Desktop.
Example script for Shorts App
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
let count = 0 | |
let id = setInterval(() => { | |
if (count > 10) { | |
return clearInterval(id) | |
} | |
console.log(count++) | |
}, 1000) | |
console.log(Promise) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment