Make a deep copy with JSON

Report a typo

Make a deep copy of the object below using the JSON method:

Sample Input 1:

Sample Output 1:

false
false
false
Write a program in JavaScript
const obj = { property1: [1, 2, 3], property2: { property3: 'a' } };
const copiedObj = //write your code here
___

Create a free account to access the full topic