Created
August 4, 2023 15:58
-
-
Save suhailgupta03/97f1f6991817d5647c2279b53fdbbd5c to your computer and use it in GitHub Desktop.
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
setInterval(function() { | |
console.log("Playing MP4"); | |
}, 1000); | |
// the first argument is the callback | |
// function | |
// the reason we call it as a callback | |
// function is because it is called back | |
// after a certain time interval | |
// the second argument is the time in | |
// milliseconds | |
// 1000ms = 1s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment