GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — javascript-oop/oop-principles/composition.js at master · JoseLuisHcoder/javascript-oop Expand file tree/ Copy pathcomposition.jsMore file actions 12 lines (11 loc) · 341 Bytes / Copy pathcomposition.jsFile metadata and controls12 lines (11 loc) · 341 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 // composition is a strong type of aggregation. // each component has no independent life withot his owner const person = { name: "Ryan", surname: "Ray", address: { // this object depende on his owner, if the person is delted also this object street: "123 Baker Street", city: "London", country: "United Kingdom", }, }; |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |