{"ScriptPreparationCode":"var data1 = {\r\n id: \u0027\u0027,\r\n type: \u0027\u0027,\r\n party: {\r\n id: \u0027\u0027,\r\n partyType: \u0027\u0027,\r\n involvedPerson: \u0027\u0027,\r\n involvedPartyRoles: \u0027\u0027,\r\n injuryPassenger: \u0027\u0027,\r\n addresses: {\r\n street: \u0027\u0027,\r\n houseNumber: \u0027\u0027,\r\n city: \u0027\u0027,\r\n country: \u0027\u0027\r\n }\r\n },\r\n bankDetail: {\r\n id: \u0027\u0027,\r\n iban: \u0027\u0027,\r\n swift: \u0027\u0027\r\n }\r\n };\r\n\r\nvar data2 = {\r\n id: \u0027\u0027,\r\n type: \u0027\u0027,\r\n party: {\r\n id: \u0027\u0027,\r\n partyType: \u0027\u0027,\r\n involvedPerson: \u0027\u0027,\r\n involvedPartyRoles: \u0027\u0027,\r\n injuryPassenger: \u0027\u0027,\r\n addresses: {\r\n street: \u0027\u0027,\r\n houseNumber: \u0027\u0027,\r\n city: \u0027\u0027,\r\n country: \u0027\u0027\r\n }\r\n },\r\n bankDetail: {\r\n id: \u0027\u0027,\r\n iban: \u0027\u0027,\r\n swift: \u0027\u0027\r\n }\r\n };","TestCases":[{"Name":"JSON.stringify","Code":"const str1 = JSON.stringify(Object.keys(data1))\r\nconst str2 = JSON.stringify(Object.keys(data2))\r\n\r\nconsole.log(str1 === str2);","IsDeferred":false},{"Name":"for loop","Code":"let test = true;\r\n\r\nfor (const key in Object.keys(data1)) {\r\n if (data1[key] !== data2[key]) {\r\n test = false;\r\n }\r\n}\r\n\r\nconsole.log(test)","IsDeferred":false}]}