Tuesday, 18 April, 2017 UTC


Summary

You can create copies of JavaScript objects by coping around properties e.g. `const x = {foo: 123}; const y = { foo: x.foo }`. However doing this manually for deep objects can be time consuming. In this lesson we cover one way of deep copying simple objects in TypeScript.