{"ScriptPreparationCode":"const shuffleArray = array =\u003E {\r\n const arr = [...array];\r\n for (let i = arr.length - 1; i \u003E 0; i--) {\r\n const j = Math.floor(Math.random() * (i \u002B 1));\r\n const temp = arr[i];\r\n arr[i] = arr[j];\r\n arr[j] = temp;\r\n }\r\n return arr;\r\n}\r\n\r\nvar testArr = Array.from({\r\n length: 5000\r\n}, () =\u003E ({val: Math.floor(Math.random() * 4000)}));\r\nvar scrambled = shuffleArray(testArr);","TestCases":[{"Name":"Array.sort","Code":"scrambled.sort((a,b) =\u003E b.val - a.val);","IsDeferred":false},{"Name":"Array.map","Code":"testArr.map((t) =\u003E t.val)","IsDeferred":false}]}