Tests often copy a shared fixture object before changing it. How should you deep-clone nested objects without JSON.parse(JSON.stringify()) quirks, and if an interviewer asks you to write a deep clone yourself, how do you test it?
Asked by The SDET Playbook