- Scopes in JS
- Context (aka
this
) in JS - Callbacks Review
- NodeJS Modules
- NodeJS Automated Testing w. Mocha - time permits
- Create the following skeleton of files:
./01-scope.js
./02-context.js
./03-callbacks.js
./04-modules.js
./lib
./lib/util.js
./README.md
-
Create a
package.json
file by runningnpm init -y
in your terminal -
Remember to include
use strict;
at the top of all of your files
Strict mode helps out in a couple ways:
It catches some common coding bloopers, throwing exceptions. It prevents, or throws errors, when relatively "unsafe" actions are taken (such as gaining access to the global object). It disables features that are confusing or poorly thought out.