2. What is a unit test?
Test Driven Development
Running a unit test in a browser
Libraries and Frameworks
Writing Testable JavaScript
Exercise/Demo
2
13. Block Scope vs. Function Scope
Proxy Objects
Simulating DOM Events
13
14. Function scope also means that variables
declared inside functions are only available
inside those functions, once the function
exits, the variables are inaccessible.
JavaScript does have private variables. You
declare them inside closures.
14
15. Block Scope vs. Function Scope
Proxy Objects
Simulating DOM Events
15
29. Books:
JavaScript the good parts, by Douglas
Crockford
JavaScript unit testing, by Hazem Saleh
http://alistapart.com/article/writing-
testable-javascript
http://www.adequatelygood.com/Writing-
Testable-JavaScript.html
29