{"ScriptPreparationCode":null,"TestCases":[{"Name":"Lodash omit \u002B cloneDeep","Code":"const a = {prop1: {a: 1}, prop2: {a: 2}};\r\nconst b = _.cloneDeep(_.omit(a, \u0027prop1\u0027));\r\nb[\u0027prop2\u0027] = null;","IsDeferred":false},{"Name":"JS forEach","Code":"const a = {prop1: {a: 1}, prop2: {a: 2}};\r\nconst b = {};\r\nObject.keys(a).forEach(key =\u003E {\r\n if(key !== \u0027prop1\u0027){\r\n \tb[key] = {...a[key]};\r\n }\r\n});\r\nb[\u0027prop2\u0027].a = null;","IsDeferred":false}]}