{"ScriptPreparationCode":"var arr = [];\r\n\r\nfor (i = 0; i \u003C 1000; i\u002B\u002B) {\r\n arr[i] = i;\r\n}","TestCases":[{"Name":"Lodash","Code":"var [met, rest] = _.partition(arr, function(i) { return i % 2 === 0 });","IsDeferred":false},{"Name":"Native reduce","Code":"var [met, rest] = arr.reduce(function([p1, p2], i) { return i % 2 === 0 ? [[...p1, i], p2] : [p1, [...p2, i]] }, [[], []])","IsDeferred":false}]}