On 2016-10-07 8:01 AM, Tom Schuster wrote:
> To simplify parsing ES 2016 disallows "use strict" in functions with
> non-simple parameters, like defaults or rest.
> 
> For example `function f(a = 1) { "use strict"; }` is going to start
> throwing.
> 
> Chrome, JSC and Edge already made this change.

Do we have any evidence to suggest that making this change doesn't break
webpages in Gecko, if they're using browser sniffing to parse code that
they don't parse in other engines?

Thanks,
Ehsan
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to