Elegant patterns in modern JavaScript: RORO
Most of my functions now accept a single parameter of type `object` and many of them return or resolve to a value of type `object` as well. Thanks in part to the _destructuring_ feature introduced in ES2015, I’ve found this to be a powerful pattern...
Tags: programming, software, javascript, patterns