Download the samples
Click "download zip" on the bottom-right of this page, and unzip the content into a new directory.
Running the Samples
- Open a command prompt or terminal in the folder with this content
node thefile.jsto run a file named "thefile.js"
- The script's results will appear in the terminal window, then node will exit
- Read the source code by opening the file in any text editor like Notepad or Sublime Text
About the Content
equally well in a browser, we use node for simplicity. You could just as easily run each sample in a web browser
if you changed
var async = require('./lib/async'); to be