mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Chris
5ff30bcf33
|
4 years ago | |
---|---|---|
.. | ||
README.md | 4 years ago |
README.md
🌟 Parenting
You are now beginning BONUS exercises, those are made to make you explore JS a bit more by yourself and show you more obscure / weird aspects of the language.
Only spend time on those if you are ahead !
If you feel already a bit overwhelmed by all you had to learn so far, don't feel bad to skip them.
Circular Structure
We call a circular Structure when an object has a property which value is itself.
Instructions
You will make such circular structure by representing a parent
/ child
relationship.
Declare 2 variables of objects:
- The object
parent
with achild
property of thechild
object - The object
child
with aparent
property of theparent
object