Parameter lists as arguments destructuring sugar
Sean Eagan
seaneagan1 at gmail.com
Wed Apr 6 12:32:13 PDT 2011
Sorry, scratch the idea of passing __ThisBinding__ as
__arguments__[0]. The "improved" desugaring should have been...
let __parameterList__ = "a, , c = \"c\", ...d";
var f = new Function(
__parameterList__,
"!__ThisBindingIsExplicit__ && __ThisBinding__ ??= defaultThis; var
[" + __parameterList__ + "] = __arguments__; //..."
);
I'll be quiet now.
Thanks,
Sean Eagan
More information about the es-discuss
mailing list