{"ScriptPreparationCode":"var data = _.range(10000).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":"Loadash","Code":"var result = _.chain(data)\r\n .pick(\u0027counter\u0027)\r\n .filter(isOdd)\r\n .map(square)\r\n .filter(lessThanThreeDigits)\r\n .value();","IsDeferred":false},{"Name":"Ramda with currying","Code":"var result = R.pipe(\r\n R.filter(lessThanThreeDigits),\r\n R.map(square),\r\n R.filter(isOdd),\r\n R.pluck(\u0027counter\u0027)\r\n)(data);","IsDeferred":false}]}