Status: New
Owner: ----
New issue 3369 by [email protected]: named function expressions don't
create an immutable binding for their name
http://code.google.com/p/v8/issues/detail?id=3369
| (function test() {
| "use strict"
| test = 123;
| }());
is expected to throw a TypeError when assigning to the immutable `test`
variable. Relevant spec sections:
* http://es5.github.io/#x10.2.1.1.3 SetMutableBinding()
* http://www.ecma-international.org/ecma-262/5.1/#sec-13 Function Definition
Related discussions where this came up:
* https://groups.google.com/d/msg/js-tools/ZiciT7v-HQ4/z8eiJLahoRsJ
* http://stackoverflow.com/q/24021489/1048572
--
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.