Re: Proposal: export ** from './FooBar'

2019-03-03 Thread Guy Bedford
export ** has been suggested before, and it does seem like it would be a useful proposal to me. On Sun, Mar 3, 2019 at 8:17 AM Jordan Harband wrote: > https://github.com/tc39/ecma262/pull/1174 adds `export * as someName from > 'path'`; https://github.com/tc39/proposal-export-default-from is the

Re: Proposal: switch expressions

2019-03-03 Thread Isiah Meadows
By "simulating", I meant doing something that was functionally equivalent. If you wanted a direct equivalent, just replace all instances of `{keyN: true, print: function () { ... }}` with `new class { constructor() { this.keyN = true } print() { ... } }` in the benchmarks, and you've got something