layout | title | folder | permalink | pumlid | categories | tags | ||
---|---|---|---|---|---|---|---|---|
pattern |
Property |
property |
/patterns/property/ |
FSV13OCm30NGLTe1YEziumOBKYMEPN-3s9wUUdlltRJst2Izlmx0OYLolihUSEGdGxnEXIXAdODQpul1Jby-UTaasgwBCI2kGOFZ1pAV9ewR1FMVaZwAvUWF |
Creational |
|
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