Since early JavaScript only had function scope (via var ), the book highlights the danger of assuming block-level isolation. Lasting Impact
A simple, flexible way to create data structures that eventually inspired the JSON format. JavaScript: The Good Parts
Functions that retain access to their lexical scope, enabling private state and modularity without class-based overhead. Since early JavaScript only had function scope (via