Understanding JavaScript Composite Patterns
A composite pattern deals with the complexity of how objects are related to one another. According to the original definition, [a composite pattern] allows you to compose objects into tree structures to represent part-whole hierarchies Design Patterns: Elements of Reusable Object-Oriented Software (Addison-Wesley Professional Computing Series) But what does this...