{"ScriptPreparationCode":"class Foo {\r\n}\r\n\r\nfunction objectCopy(object) {\r\n if (!object) {\r\n return {};\r\n }\r\n\r\n const copyObject = {};\r\n for (const attribute in object) {\r\n if (Array.isArray(object[attribute])) {\r\n copyObject[attribute] = arrayCopy(object[attribute]);\r\n continue;\r\n }\r\n\r\n if (object[attribute] instanceof Object) {\r\n copyObject[attribute] = objectCopy(object[attribute]);\r\n continue;\r\n }\r\n\r\n copyObject[attribute] = object[attribute];\r\n }\r\n\r\n return copyObject;\r\n}\r\n\r\nfunction arrayCopy(array) {\r\n if (!array) {\r\n return [];\r\n }\r\n\r\n const copyArray = [];\r\n for (let i = 0; i \u003C array.length; i\u002B\u002B) {\r\n if (Array.isArray(array[i])) {\r\n copyArray[i] = arrayCopy(array[i]);\r\n continue;\r\n }\r\n\r\n if (array[i] instanceof Object) {\r\n copyArray[i] = objectCopy(array[i]);\r\n continue;\r\n }\r\n\r\n copyArray[i] = array[i];\r\n }\r\n\r\n return copyArray;\r\n}\r\n\r\nvar user = {\r\n name: \u0022Teszt Elek\u0022,\r\n address: {\r\n country: \u0022Magyarorsz\u00E1g\u0022,\r\n county: \u0022Borsod-Aba\u00FAj-Zempl\u00E9m megye\u0022,\r\n city: \u0022Miskolc\u0022,\r\n street: \u0022Fels\u0151ruzsin\u0022,\r\n streetType: \u0022k\u00F6r\u00FAt\u0022,\r\n houseNumber: \u002221\u0022\r\n },\r\n job: {\r\n professional: \u0022Szoftverfejleszto\u0022,\r\n company: {\r\n name: \u0022Evosoft Hungary Kft.\u0022,\r\n group: {\r\n department: {\r\n name: \u0022O5\u0022,\r\n code: \u0022O5\u0022,\r\n teams: [\r\n \u00221\u0022,\r\n \u00222\u0022,\r\n \u00223\u0022,\r\n \u00224\u0022\r\n ],\r\n },\r\n team: {\r\n name: \u00224\u0022,\r\n members: [\r\n \u0022Gipsz Jakab\u0022,\r\n \u0022Teszt Elek\u0022,\r\n \u0022John Doe\u0022,\r\n \u0022Jane Doe\u0022,\r\n \u0022Gipsz Jakab\u0022,\r\n \u0022Teszt Elek\u0022,\r\n \u0022John Doe\u0022,\r\n \u0022Jane Doe\u0022,\r\n \u0022Gipsz Jakab\u0022,\r\n \u0022Teszt Elek\u0022,\r\n \u0022John Doe\u0022,\r\n \u0022Jane Doe\u0022,\r\n \u0022Gipsz Jakab\u0022,\r\n \u0022Teszt Elek\u0022,\r\n \u0022John Doe\u0022,\r\n \u0022Jane Doe\u0022,\r\n \u0022Gipsz Jakab\u0022,\r\n \u0022Teszt Elek\u0022,\r\n \u0022John Doe\u0022,\r\n \u0022Jane Doe\u0022\r\n ],\r\n responibilityFor: {\r\n share: {\r\n file: \u0022//Something.dat\u0022,\r\n binary: [\r\n [2],\r\n [3],\r\n [5],\r\n [55],\r\n [1623],\r\n [1],\r\n [0],\r\n [1024],\r\n [2],\r\n [3],\r\n [5],\r\n [55],\r\n [1623],\r\n [1],\r\n [0],\r\n [1024],\r\n [2],\r\n [3],\r\n [5],\r\n [55],\r\n [1623],\r\n [1],\r\n [0],\r\n [1024]\r\n ],\r\n data: {\r\n binary: [\r\n [2],\r\n [3],\r\n [5],\r\n [55],\r\n [1623],\r\n [1],\r\n [0],\r\n [1024],\r\n [2],\r\n [3],\r\n [5],\r\n [55],\r\n [1623],\r\n [1],\r\n [0],\r\n [1024],\r\n [2],\r\n [3],\r\n [5],\r\n [55],\r\n [1623],\r\n [1],\r\n [0],\r\n [1024]\r\n ],\r\n obj: {\r\n vami: \u0022vami\u0022,\r\n hami: \u0022hami\u0022,\r\n dami: {\r\n ini: \u0022ini\u0022,\r\n ani: {\r\n ani: \u0022ani\u0022\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n \t}\r\n }\r\n}","TestCases":[{"Name":"lodash","Code":"_.cloneDeep(user)","IsDeferred":false},{"Name":"own","Code":"objectCopy(user)","IsDeferred":false}]}