My super class A has a method copy(), which is a customized deep copy function. The sub class B wants to inherit this deep-copy function while also deep-copying
I am extremely confused for days now regarding the true definition of a shallow copy and a deep copy. When I read the mdn docs (https://developer.mozilla.org/en
I just came across this concept of var copy = Object.assign({}, originalObject); which creates a copy of original object into the "copy" object. However, my