which of these method of object class can clone an object code example
Example: how to clone an object
const first = {'name': 'alka', 'age': 21}
const another = Object.assign({}, first);
const first = {'name': 'alka', 'age': 21}
const another = Object.assign({}, first);