Code snippets

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