{"ScriptPreparationCode":"var data = Array(100).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":"lo","Code":"var a = _.pick(data, \u0027counter\u0027)\r\nvar b = _.filter(a, isOdd)\r\nvar c = _.map(b, square)\r\nvar d = _.filter(c, lessThanThreeDigits)","IsDeferred":false},{"Name":"lodash fp","Code":"var result = _.flow(\r\n _.map(_.pick(\u0027counter\u0027)),\r\n _.filter(isOdd),\r\n _.map(square),\r\n _.filter(lessThanThreeDigits),\r\n)(data);","IsDeferred":false}]}