{"ScriptPreparationCode":"var obj = {\r\n description: \u0027Creates a deep copy of source, which should be an object or an array.\u0027,\r\n myNumber: 123456789,\r\n myBoolean: true,\r\n jayson: {\r\n stringify: \u0027JSON.stringify() method converts a JavaScript value to a JSON string....\u0027,\r\n parse: \u0027JSON.parse() method parses a JSON string...\u0027\r\n }\r\n}\r\n","TestCases":[{"Name":"Lodash cloneDeep","Code":"const before = _.cloneDeep(obj)\r\nobj.description = \u0027this has changed\u0027\r\nconst after = _.cloneDeep(obj)\r\nconst hasChanged = _.isEqual(before, after)","IsDeferred":false},{"Name":"Json clone","Code":"const before = JSON.stringify(obj)\r\nobj.description = \u0027this has changed\u0027\r\nconst after = JSON.stringify(obj)\r\nconst hasChanged = before === after","IsDeferred":false}]}