diff options
author | jeroenransijn <jssrdesign@gmail.com> | 2013-09-11 15:51:21 +0200 |
---|---|---|
committer | jeroenransijn <jssrdesign@gmail.com> | 2013-09-11 15:51:21 +0200 |
commit | 3f9ba06563c580c4795228a822475bf305d5b694 (patch) | |
tree | dfea2d3dd4c3e9341eac359ee5726b60c8ff1b65 /javascript.html.markdown | |
parent | b28900b889c27f8500a44d9f9bcad5244f1f79bd (diff) |
Note aboute setTimeout
Diffstat (limited to 'javascript.html.markdown')
-rw-r--r-- | javascript.html.markdown | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/javascript.html.markdown b/javascript.html.markdown index bc2a973a..859d61a9 100644 --- a/javascript.html.markdown +++ b/javascript.html.markdown @@ -219,6 +219,7 @@ function myFunction(){ // this code will be called in 5 seconds' time } setTimeout(myFunction, 5000); +// Note: setTimeout isn't part of the JS language, but is provided by browsers and Node.js. // Function objects don't even have to be declared with a name - you can write // an anonymous function definition directly into the arguments of another. |