Using Object.assign()

Report a typo

Choose the right way using Object.assign() for copying an object:

const user = { name: 'John', age: 24 }
Select one or more options from the list
___

Create a free account to access the full topic