summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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.