1 min readFeb 13, 2019
Worth mentioning, many deep clone implementations have trouble with, or deal with recursive object trees. fclone in npm is my goto these days. They’re particularly useful if you are serializing error conditions to stringify either for logging or sending over the wire.