From 3f9ba06563c580c4795228a822475bf305d5b694 Mon Sep 17 00:00:00 2001 From: jeroenransijn Date: Wed, 11 Sep 2013 15:51:21 +0200 Subject: Note aboute setTimeout --- javascript.html.markdown | 1 + 1 file changed, 1 insertion(+) (limited to 'javascript.html.markdown') 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. -- cgit v1.2.3