using the … spread syntax in javascript es6 named exports
Object rest spread is stage 3 proposal and not a part of any spec (will probably be included in ES2018). More importantly, export has syntax that mimics existing JS syntax but doesn’t interpret { … } as an expression. export syntax was strictly defined because ES2015 modules are supposed to be statically analyzed. This is … Read more