{"ScriptPreparationCode":" var data = _.range(10000).map(function(i) {\r\n return {\r\n counter: i\r\n }\r\n });\r\n \r\n function isOdd(num) {\r\n return num % 2 === 1;\r\n }\r\n \r\n function square(num) {\r\n return num * num;\r\n }\r\n \r\n function lessThanThreeDigits(num) {\r\n return num.toString().length \u003C 3;\r\n }","TestCases":[{"Name":"Ramda","Code":"var result = _.chain(data)\r\n .map(item =\u003E item.counter)\r\n .filter(isOdd)\r\n .map(square)\r\n .filter(lessThanThreeDigits)\r\n .value();","IsDeferred":false},{"Name":"Native","Code":"var result = \r\n \tdata.map(item =\u003E item.counter)\r\n .filter(isOdd)\r\n .map(square)\r\n .filter(lessThanThreeDigits)","IsDeferred":false}]}