Walmart Global Tech interview question

Js deep clone polyfill example