let actionApplyer = function(start, ray) { let a = start for (let i = 0; i < ray.length; i++ ){ a = ray[i](a) } return a } arrayOfTransforms = [ function(a){ return a * 2 }, function(a){ return a + 1000}, function(a){ return a % 7 } ] actionApplyer(13, arrayOfTransforms)
There was an error while loading. Please reload this page.
Summary
List (cmd)
Examples
Front End
Manipulating The DOM Events Communicating w/ Server
Arrays Scope Hoisting Objects Iteration Functions Collection Methods OO Programming - Class Promises Others
Endpoints Basic API