Medium
Which of the following implementations creates a deep copy of an object?
1const obj = { a: 1, b: { c: 2 } };23const deepCopy = (source) => {4 // Your implementation here5};67const copiedObj = deepCopy(obj);8copiedObj.b.c = 42;9console.log(obj.b.c); // Should remain 2