{"ScriptPreparationCode":"var arrs = Array(1000).fill(0).map(x =\u003E Array(1000).fill(0).map(x =\u003E Math.random()))","TestCases":[{"Name":"Normal Sort","Code":"for (var arr of arrs) {\r\n arr.sort((a, b) =\u003E a - b);\r\n}","IsDeferred":false},{"Name":"Reuse function","Code":"var sortFunc = (a, b) =\u003E a - b;\r\nfor (var arr of arrs) {\r\n arr.sort(sortFunc);\r\n}","IsDeferred":false}]}