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

    * Generators and iterators (i.e. yield)
    * "let" (i.e. proper lexical scoping)
    * destructuring assignment - (i.e. assignment and return of multiple
    * 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.