Skip to content

nick-brown/functional-javascript-methods

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Re-implementing some of JavaScript's built-in methods

To better understand the powerful reduce, map, and filter methods that help us write clean, functional code it can be helpful to re-implement them by hand.

Looking at the three together it becomes apparent that reduce is the workhorse of the group - making it simple to implement map and filter.

Also as a small bonus, it's nice to be able to convert built-in methods into functions that we can then use in function composition.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published