{"ScriptPreparationCode":"var tabl = Array.from({ length: 100000 }).map((value, i) =\u003E i)","TestCases":[{"Name":"Lodash partition","Code":"let result = _.partition(tabl, v =\u003E v%2)","IsDeferred":false},{"Name":"forEach with push","Code":"let a = [], b = []; let result = tabl.forEach(item =\u003E {if (item%2) {a.push(item)} else {b.push(item)}})","IsDeferred":false},{"Name":"forEach with spread","Code":"let a = [], b = []; let result = tabl.forEach(item =\u003E {if (item%2) {a = [...a, item]} else {b = [...b, item]}})","IsDeferred":false},{"Name":"forEach with concat","Code":"let a = [], b = []; let result = tabl.forEach(item =\u003E {if (item%2) {a = a.concat(item)} else {b = b.concat(item)}})","IsDeferred":false},{"Name":"two filters","Code":"a = tabl.filter(item =\u003E item % 2)\r\nb = tabl.filter(item =\u003E !item % 2)","IsDeferred":false}]}