{"ScriptPreparationCode":"var data = Array(10000).fill().map(function(_, i) {\r\n return {\r\n counter: i\r\n }\r\n});\r\n\r\nfunction isOdd(num) {\r\n return num % 2 === 1;\r\n}\r\n\r\nfunction square(num) {\r\n return num * num;\r\n}\r\n\r\nfunction lessThanThreeDigits(num) {\r\n return num.toString().length \u003C 3;\r\n}","TestCases":[{"Name":"Ramda","Code":"var result = R.pipe(\r\n R.map(x =\u003E x.counter),\r\n R.filter(isOdd),\r\n R.map(square),\r\n R.filter(lessThanThreeDigits)\r\n)(data);","IsDeferred":false},{"Name":"lodash fp","Code":"var result = _.flow(\r\n _.map(x =\u003E x.counter),\r\n _.filter(isOdd),\r\n _.map(square),\r\n _.filter(lessThanThreeDigits),\r\n)(data);","IsDeferred":false}]}