{"ScriptPreparationCode":"var array = []\r\nfor (let i = 0; i \u003C 10000; i\u002B\u002B) {\r\n\tarray.push({ value: i })\r\n}","TestCases":[{"Name":"_","Code":"_.filter(array, (item) =\u003E {\r\n\treturn item.n \u003E 5000\r\n})","IsDeferred":false},{"Name":".f","Code":"array.filter((item) =\u003E {\r\n\treturn item.n \u003E 5000\r\n})","IsDeferred":false},{"Name":"for","Code":"const _filter = (\r\n collection,\r\n filterCallback,\r\n) =\u003E {\r\n let index = 0\r\n const result = []\r\n\r\n for (const item of collection) {\r\n if (filterCallback(item, index, collection)) {\r\n result.push(item)\r\n }\r\n index\u002B\u002B\r\n }\r\n\r\n return result\r\n}\r\n\r\n_filter(array, (item) =\u003E {\r\n\treturn item.n \u003E 5000\r\n})","IsDeferred":false}]}