Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.79 KB

File metadata and controls

38 lines (28 loc) · 1.79 KB

js-design-patterns-book

These are my personal notes from the book Learning JavaScript Design Patterns by Addy Osmani.

Summaries

Tests

Due to self-learning purposes, I have added tests for the code snippets to facilitate my comprehension of what they do. It's easier an better than using console.log all over the place.

This is a technique I learned from the book Test-Driven JavaScript Development by Christian Johansen, Chapter 4. Test to learn.

Install Mocha.js globally

npm install -g mocha

Run the tests:

npm run test