JavaScript Design Patterns Reference examples of various JavaScript design patterns and testing strategies for those design patterns These are mostly drawn from Spencer & Richards's Reliable JavaScript and Crockford's JavaScript: The Good Parts.