Comment #2 on issue 4395 by [email protected]: assignments in default parameter initializers
https://code.google.com/p/v8/issues/detail?id=4395

Simpler test case that fails:

((a,b=a)=>[a,b])(10)

throws a ReferenceError for `a` not being defined. And indeed, because of the DYNAMIC_GLOBAL, the original test case actually creates a global variable called `a` with the value 42.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to