Home>Object.assign() Method in JavaScript>Edit It: Copy myName's Properties into an Empty ObjectEdit It: Copy myName's Properties into an Empty ObjectThis code shows how to copy an object's properties into an empty object.See it on StackBlitz