{"ScriptPreparationCode":null,"TestCases":[{"Name":"Access","Code":"\u0022use strict\u0022;\r\nconst testArray = [];\r\nfor (let i = 0; i \u003C 100; i\u002B\u002B) {\r\n const obj = {\r\n index: Math.ceil(Math.random() * 100),\r\n foo: {\r\n size: Math.ceil(Math.random() * 100),\r\n color: \u0060${Math.ceil(Math.random() * 255)} ${Math.ceil(Math.random() * 255)} ${Math.ceil(Math.random() * 255)}\u0060\r\n },\r\n simpleObjs: []\r\n };\r\n for (let j = 0; j \u003C 25; j\u002B\u002B) {\r\n const simpleObject = {\r\n title: \u0060${Math.ceil(Math.random() * 666)}\u0060,\r\n quantity: Math.ceil(Math.random() * 10),\r\n description: \u0060WOOW${Math.ceil(Math.random() * 100)}OWOWOWO${Math.ceil(Math.random() * 100)}WOW\u0060\r\n };\r\n obj.simpleObjs.push(simpleObject);\r\n }\r\n testArray.push(obj);\r\n}\r\n\r\ntestArray.sort((a, b) =\u003E {\r\n if (a.index \u003E b.index) {\r\n return 1;\r\n }\r\n if (a.index \u003C b.index) {\r\n return -1;\r\n }\r\n return 0;\r\n});","IsDeferred":false},{"Name":"Destruct","Code":"\u0022use strict\u0022;\r\nconst testArray = [];\r\nfor (let i = 0; i \u003C 100; i\u002B\u002B) {\r\n const obj = {\r\n index: Math.ceil(Math.random() * 100),\r\n foo: {\r\n size: Math.ceil(Math.random() * 100),\r\n color: \u0060${Math.ceil(Math.random() * 255)} ${Math.ceil(Math.random() * 255)} ${Math.ceil(Math.random() * 255)}\u0060\r\n },\r\n simpleObjs: []\r\n };\r\n for (let j = 0; j \u003C 25; j\u002B\u002B) {\r\n const simpleObject = {\r\n title: \u0060${Math.ceil(Math.random() * 666)}\u0060,\r\n quantity: Math.ceil(Math.random() * 10),\r\n description: \u0060WOOW${Math.ceil(Math.random() * 100)}OWOWOWO${Math.ceil(Math.random() * 100)}WOW\u0060\r\n };\r\n obj.simpleObjs.push(simpleObject);\r\n }\r\n testArray.push(obj);\r\n}\r\n\r\ntestArray.sort(({ index: aIndex }, { index: bIndex }) =\u003E {\r\n if (aIndex \u003E bIndex) {\r\n return 1;\r\n }\r\n if (aIndex \u003C bIndex) {\r\n return -1;\r\n }\r\n return 0;\r\n});","IsDeferred":false}]}