mirror of https://github.com/01-edu/public.git
5ff30bcf33
merge hello-there subject |
||
---|---|---|
.. | ||
README.md |
README.md
Nested Objects
Since objects are values, nothing stops you from having objects inside objects.
This is very common and allows to model more complex things.
Instructions
Create an object address
with 3 properties:
city
property with a value of typeString
postcode
property with a value of typeNumber
street
property with a value of typeObject
and 2 properties:name
property with a value of typeString
number
property with a value of typeNumber