domenic at domenicdenicola.com (2013-12-10T01:14:27.493Z)
> So we parse it as an identifier, just as we parse duplicate formal
> parameters. Then if we see "use strict", we must post-process the parse
> tree and throw an error. Kind of a shame, but there it is.
>
>
To use Waldemar's word, I wonder if that might get obnoxious:
function(a = function(yield = function(arguments = function(eval) {}) {}) {}) {
"use strict"; /* Doh! */
}
: )
> > > So we parse it as an identifier, just as we parse duplicate formal > parameters. Then if we see "use strict", we must post-process the parse > tree and throw an error. Kind of a shame, but there it is. > > To use Waldemar's word, I wonder if that might get obnoxious: function(a = function(yield = function(arguments = function(eval) {}) {}) {}) { "use strict"; /* Doh! */ } : ) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20131125/f9dc793f/attachment.html>