Code for Day 14 challenge

Day 14: Object and Arrays - Reference vs. Copy

This was a good exercise and reminder of how updating an array and/or object can be affected depending on how the new array and/or object was created.

What did I learn?

Object.assign() only goes one level deep.

Object spread is not yet in JavaScript.

Interested in participating in #JavaScript30?

Register here and learn at your own speed.