| layout | pattern | ||
|---|---|---|---|
| title | Property | ||
| folder | property | ||
| permalink | /patterns/property/ | ||
| pumlid | FSV13OCm30NGLTe1YEziumOBKYMEPN-3s9wUUdlltRJst2Izlmx0OYLolihUSEGdGxnEXIXAdODQpul1Jby-UTaasgwBCI2kGOFZ1pAV9ewR1FMVaZwAvUWF | ||
| categories | Creational | ||
| tags |
|
Create hierarchy of objects and new objects using already existing objects as parents.
Use the Property pattern when
- when you like to have objects with dynamic set of fields and prototype inheritance
- JavaScript prototype inheritance
