Hacker News new | ask | show | jobs
by vkjv 3765 days ago
Reduce requires that functions be pure (no side effects). Immutable.js is one way to enforce this but ithe is not required.

The examples mostly use things like the spread operator and Object.assign.