Created
October 26, 2016 13:54
-
-
Save yvan-sraka/fa01020b0141f7e8238089edf948e0f9 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
// PROTOTYPE // | |
// setTimeout(Function, Number); | |
/////////////// | |
// Example | |
// 1. | |
setTimeout( | |
// first parameter | |
// (which is an anonymous function without parameter) | |
function () { alert("Bouuuuh"); }, | |
// second parameter | |
3000 | |
); | |
// MATHS // | |
// g() : is a Function | |
// f(g, x) : with x is a Number | |
/////////// | |
// 2. | |
function test() { | |
alert("Bouuuuh"); | |
}; | |
setTimeout(test, 3000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment