Status: Assigned
Owner: ad...@chromium.org
Labels: Type-Bug Priority-Low Harmony Area-Language

New issue 4373 by ad...@chromium.org: Non-reference expression on left-hand side in for loop initializer should be a SyntaxError
https://code.google.com/p/v8/issues/detail?id=4373

V8 treats it as a ReferenceError.

Example:


d8 -e 'for (3 in {}) {}'
unnamed:1: ReferenceError: Invalid left-hand side in for-loop
for (3 in {}) {}
     ^
ReferenceError: Invalid left-hand side in for-loop


--
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
v8-dev@googlegroups.com
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 v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to