March 28 meeting notes
brendan at mozilla.org
Thu Mar 29 16:16:35 PDT 2012
Mark S. Miller wrote:
> With such a "yield" prohibited, AFAICT the exceptions in non-rejected
> programs are "return" and the open question about "var". Did we miss
> any others?
Not that I know of, but why is 'var' at issue? An arrow function is
still a function, and function body scopes (hoisted) var bindings. If
arrows bind 'return' why not 'var' too? Better to avoid diverging from
non-arrow functions than try to minimize TCP exceptions when there are
any exceptions at all, I say.
More information about the es-discuss