{"ScriptPreparationCode":"var test = []\r\nfor(let i=1; i\u003C200000; i\u002B\u002B) {\r\n test.push({\r\n id: i,\r\n class: Math.floor(Math.random()*10)\r\n })\r\n}","TestCases":[{"Name":"reduce","Code":"test.reduce((acc, item) =\u003E {\r\n if(item.class==3) {\r\n acc.push(item.id)\r\n return acc\r\n }\r\n return acc\r\n }, [])","IsDeferred":false},{"Name":"filter map","Code":"test.filter(item =\u003E item.class ==2).map(item =\u003E item.id)","IsDeferred":false},{"Name":"cycle","Code":"var test = []\r\nfor(let i=1; i\u003C200000; i\u002B\u002B) {\r\n test.push({\r\n id: i,\r\n class: Math.floor(Math.random()*10)\r\n })\r\n}\r\n","IsDeferred":false}]}