The global object as the "global scope instance object"
liorean at gmail.com
Tue Jan 24 17:30:07 PST 2012
>> Andreas Rossberg <mailto:rossberg at google.com>
>> January 24, 2012 12:22 PM
>> Of course, I sincerely hope that the module system will provide a more
>> pleasant replacement for this pattern. :)
On 24 January 2012 21:59, Brendan Eich <brendan at mozilla.org> wrote:
> But what? If it's let-based I'd like to know how it could work.
Since let is new syntax anyway, why not add a syntactical way of doing
the definition conditionally?
let varname if absent = value;
David "liorean" Andersson
More information about the es-discuss