Le 10/01/2013 22:31, Tab Atkins Jr. a écrit :
On Thu, Jan 10, 2013 at 1:24 PM, David Bruant <[email protected]> wrote:
I think the return true/false protocol should be replaced by a return/throw
protocol (return value is ignored). It'd be much more explicit this way.
FWIW, I kinda like the aesthetics of return/throw a bit better too,
through it's kinda weird that the thrown error is *also* ignored (and
instead a TypeError is thrown).
I didn't mention it, but I was thinking of keeping the error as it's
thrown in the trap, only ignoring the return value in the 'return'
case... I realize that I should have mention it now that I read about
the TypeError in the strawman.
David
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss