Last active
July 4, 2017 21:02
-
-
Save Bajena/c913fdb95d91c526684970237a97fab6 to your computer and use it in GitHub Desktop.
Function breakpoints - example
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
function myFunction() { | |
console.log('my func'); | |
} | |
setInterval(function() { | |
var x = getRandomInt(0, 1); | |
if (x == 0) { | |
myFunction(); | |
} | |
$('#numbers').append(x).append("<br/>"); | |
}, 1000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment