0 votes1 answer1 view
How should test code deep-clone fixtures, and how would you test a deep clone utility?
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...
- Careers & interviews
- Interview prep
- TypeScript
- Test automation