Notes for JavaScript Patterns by Stoyan Stefanov