let banana = {};
- Declare a
banana
variable. - Create a new object value
{}
. - Point
banana
variable’s wire to it.
- Declare a
let cherry = banana;
- Declare a
cherry
variable. - Point
cherry
’s wire to wherebanana
is pointing.
- Declare a
let chocolate = cherry;
- Then, we declare a
chocolate
variable. - Point
chocolate
’s wire to wherecherry
is pointing.
- Then, we declare a
cherry = {};
- Create a new object value
{}
. - Point
cherry
’s wire to it.
Now let’s check your answers:
|
|
No comments:
Post a Comment