Home
Travis CI
High order functions
Objectives
High order functions that are built in with any array of javascript, that can simplify our needs in a meaningful way.
Map: Creates a new array with the result of the mapped expression
Filter: Creates a new array with the matching values for the expression we need to compare.
Find: Gets the first result out of the expression we evaluate
Reduce: Gets the result of the accumulated value, considering a certain initial value and each value of the array.
Conclusion
This builtin high order functions helps a lot on solving common problems with a declarative language, we also know now what is a high order function
Home
Did you like this post?
Share it in twitter
or
follow me!
Objectives
High order functions that are built in with any array of javascript, that can simplify our needs in a meaningful way.
Map: Creates a new array with the result of the mapped expression
Filter: Creates a new array with the matching values for the expression we need to compare.
Find: Gets the first result out of the expression we evaluate
Reduce: Gets the result of the accumulated value, considering a certain initial value and each value of the array.
Conclusion
This builtin high order functions helps a lot on solving common problems with a declarative language, we also know now what is a high order function
Did you like this post?
Share it in twitter or follow me!