Functions

A Quick Intro to Higher-Order Functions in Javascript

Use functions as data, and unlock some powerful patterns.

Read

What Is a Pure Function in JavaScript?

The most fundamental building block of reusable software.

Read

10 Ways to Write pipe and compose in JavaScript

All 10 roads lead to pipe and compose.

Read

30 Seconds of Code: reject()

The perfect complement to filter(), this function rejects the items that satisfy your predicate.

Read

30 Seconds of Code: Conditionally Change Values with when()

Works great with functional pipelines!

Read

30 Seconds of Code: How to rename multiple object keys in JavaScript

A response to my article on renaming a single object key in JavaScript.

Read

Using Ramda’s converge() Function

Great for forms!

Read

A Quick Introduction to pipe() and compose() in JavaScript

Pipe and compose let you combine functions like a pro!

Read