{"ScriptPreparationCode":"var arr = [];\r\nfor (var i = 0; i \u003C 1000000; i\u002B\u002B) {\r\n arr[i] = { num: i };\r\n}","TestCases":[{"Name":"map \u0026 filter","Code":"arr.map(item =\u003E item.num).filter(num =\u003E num \u003E 15 \u0026\u0026 num \u003C 30);","IsDeferred":false},{"Name":"reduce","Code":"arr.reduce((newArr, item) =\u003E {\r\n if (item.num \u003E 15 \u0026\u0026 item.num \u003C 30) {\r\n newArr.push(item.num);\r\n }\r\n \r\n return newArr;\r\n}, []);","IsDeferred":false}]}