{"ScriptPreparationCode":"var input = [];\r\nfor (var i = 0; i \u003C 100000; i\u002B\u002B) {\r\n input[i] = Math.round(Math.random() * 1000000);\r\n}","TestCases":[{"Name":"regular sort","Code":"var regularSort = input.sort();","IsDeferred":false},{"Name":"toSorted","Code":"var sorted = input.toSorted()","IsDeferred":false},{"Name":"spread and sort","Code":"var spreadAndSort = [...input].sort()","IsDeferred":false},{"Name":"just spread","Code":"var justSpread = [...input]","IsDeferred":false}]}