> > > The handling of 'yield' in this case is no more obnoxious than any of the > other strict mode restriction that apply to those functions that are > defined in the parameter list. > > Agreed. My Homer Simpson joke was just trying to point out that (irrespective of `yield`, per se), post-validating default arguments in light of a later-seen "use strict" directive could require re-validation of the entire parse tree for function expressions included in those defaults. Does that follow?
Not that it's impossible, I just haven't really considered it until now. Apologies if the joke was obnoxious. : )
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

