Category: partial application

10 Lodash Features You Can Replace with ES6

Right now, Lodash is the most depended-on npm package, but if you’re using ES6, you might not actually need it. In this article, we’re going to look at using native collection methods with arrow functions and other new ES6 features to help us cut corners around many popular use cases. 1. Map, Filter, Reduce...

A Beginner’s Guide to Currying in Functional JavaScript

If you’ve come across the term currying before, but never knew what it meant, you can be forgiven for thinking of it as some exotic, spicy technique that you didn’t need to bother about. But currying is actually a very simple concept, and it addresses some familiar problems when dealing with function arguments, whi...