SyntaxFix
Write A Post
Hire A Developer
Questions
You can do in this in Angular with ECMAScript6 by using the spread operator:
let copy = {...myObject};