On Nov 22, 2011, at 8:21 AM, Jorge wrote:
> It seems that all of these are equally valid ways to say "function ƒ () { ...
> }" :
>
> function ƒ () { ... }
> function ƒ () {{ ... }}
Actually these can have slightly different static semantics in ES.next
function f(arg) {
let arg = 42; //early error duplicate declaration of 'arg
}
function f(arg) {{
let arg = 42; //block level declaration of 'arg' shadows formal parameter
}}
Allen
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss