{"ScriptPreparationCode":"var length = 1000000;\r\nvar arr = Array.from(Array(length).fill(0),(n, index)=\u003E({date: Math.round(Math.random()*length), internalId: index }) );","TestCases":[{"Name":"filter \u002B map","Code":" const ids = arr.filter((item) =\u003E true).map(item =\u003E item.internalId);","IsDeferred":false},{"Name":"flatMap","Code":" const ids = arr.flatMap((item) =\u003E item.date \u003E 1 ? item.internalId : []);","IsDeferred":false}]}