Re: My ECMAScript 7 wishlist

2014-06-15 Thread Brendan Eich
Andrea Giammarchi wrote: In such case the only concern would be why `Object.prototype` is considered but not inherited properties too. Because NoSuchProperty is meant to be inserted just before Object.prototype, avoiding that loop. What's more, the loop is unnecessary: var NoSuchProperty =

Re: My ECMAScript 7 wishlist

2014-06-15 Thread Andrea Giammarchi
Because NoSuchProperty is meant to be inserted just before Object.prototype I miss this constrain, wouldn't have bothered with the loop otherwise. Regards On Sun, Jun 15, 2014 at 11:27 AM, Brendan Eich bren...@mozilla.org wrote: Andrea Giammarchi wrote: In such case the only concern would

ES6 modules (sorry...)

2014-06-15 Thread Axel Rauschmayer
I apologize for this email, but I still don’t understand the current module design. **Multi-export modules.** Modules made sense to me as long as they were maps from names to exported values: ```js // Module 'library' export function foo() { } export function bar() { } // Module 'client1'