Posts in June 2015
Destructuring assignments work perfectly together with regular expression matches as returned by the
exec function. Pattern matching helps assign matches and captures to local variables.
Here's how to return an object literal from an expression-bodied arrow function as introduced by ECMAScript 2015.