javascript is about to get a pipeline operator (Goddess willing). here's why that's such a great thing, especially when combined with partial application & higher-order functions.
first off, let's talk about what the pipeline operator actually is, and why you should be so excited by it.
const lower = str => str.toLowerCase()
const stripWhiteSpace = str => str.replace(/[\s]+/g, '_')
const normalizedString = stripWhiteSpace(lower(' HELLO, worLD'))
// 'hello, world'