{"ScriptPreparationCode":"var arr = [];\r\nfor (var i = 0; i \u003C 1_000_000; i\u002B\u002B) {\r\n arr.push({ value: Math.random() });\r\n}","TestCases":[{"Name":"Native JS sort","Code":"arr.sort((a, b) =\u003E a.value - b.value);","IsDeferred":false},{"Name":"lodash sort","Code":"_.sortBy(arr, (arr) =\u003E arr.value);","IsDeferred":false},{"Name":"for loop","Code":"for (let i = 0; i \u003C arr.length; i\u002B\u002B) {\r\n \tlet b = arr[i].value\r\n}","IsDeferred":false},{"Name":"forEach loop","Code":"arr.forEach(a =\u003E {\r\n let b = a.value\r\n})","IsDeferred":false}]}