summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjeroenransijn <jssrdesign@gmail.com>2013-09-11 15:51:21 +0200
committerjeroenransijn <jssrdesign@gmail.com>2013-09-11 15:51:21 +0200
commit3f9ba06563c580c4795228a822475bf305d5b694 (patch)
treedfea2d3dd4c3e9341eac359ee5726b60c8ff1b65
parentb28900b889c27f8500a44d9f9bcad5244f1f79bd (diff)
Note aboute setTimeout
-rw-r--r--javascript.html.markdown1
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.