diff options
Diffstat (limited to 'javascript.html.markdown')
-rw-r--r-- | javascript.html.markdown | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/javascript.html.markdown b/javascript.html.markdown index bc2a973a..2f742574 100644 --- a/javascript.html.markdown +++ b/javascript.html.markdown @@ -219,6 +219,8 @@ 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. |