lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Since I wasn't able to cause any controversy at the workshop...

JavaScript is playing catch-up with Lua.  New features from
<http://developer.mozilla.org/en/docs/New_in_JavaScript_1.7>:

    * Generators and iterators (i.e. yield)
    * "let" (i.e. proper lexical scoping)
    * destructuring assignment - (i.e. assignment and return of multiple
values)
    * array comprehensions - (i.e. "{f()}" for those afraid of
functional programming)

I predict these new features will add (NUM_LUA_MANUAL_PAGES * 3) pages
to the JavaScript specification.

--John