Hi guys, I'm reading 14.3.2.1 <https://262.ecma-international.org/#sec-variable-statement-runtime-semantics-evaluation> section of ecma232 and trying to find out how the following code is evaluated. *var x *// A according to the following part of 14.3.2.1
VariableDeclaration : BindingIdentifier 1. Return empty. It seems the code at line A will be a non-op, that is it will do nothing. If this is right, the following code should not run in my understanding, but it did run, how does this happen? Many thanks ! ‘use strict’ var x x=0 -- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-dev/d20e9269-8ee5-4030-a342-20ee1887078en%40googlegroups.com.