{"ScriptPreparationCode":"var arr = [];\r\n\r\nfor (i = 0; i \u003C 1000; i\u002B\u002B) {\r\n arr[i] = i;\r\n}\r\n\r\n","TestCases":[{"Name":"Lodash","Code":"var [met, rest] = _.partition(arr, function(i) { return i % 2 === 0 });","IsDeferred":false},{"Name":"loop push","Code":"var met = [];\r\nvar rest = []; \r\n for (var i = 0; i \u003C arr.length; i\u002B\u002B) {\r\n if (arr[i] % 2 === 0){\r\n met.push(arr[i]);}\r\n else {\r\n rest.push(arr[i]); }\r\n }","IsDeferred":false},{"Name":"filter","Code":"var rest = [];\r\narr = arr.filter(e =\u003E {\r\n if (e % 2 === 0) {\r\n \treturn true;\r\n }\r\n else {\r\n rest.push(e);\r\n return false;\r\n }\r\n});","IsDeferred":false}]}