Glossary: Software Design Patterns in JavaScript
Delegation
Also written: delegate
Handing a job to another object you hold instead of doing it yourself. Product.total asks its pricing and wrapping parts and adds their answers.
Glossary: Software Design Patterns in JavaScript
Also written: delegate
Handing a job to another object you hold instead of doing it yourself. Product.total asks its pricing and wrapping parts and adds their answers.