Created
February 9, 2019 20:11
-
-
Save rg3915/508769a8256fb37e856e83112d3a9ead to your computer and use it in GitHub Desktop.
counter setInterval JS javascript
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
var i = 0 | |
var intervalo = window.setInterval(function() { | |
console.log(i); | |
i++ | |
}, 500); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment