One puzzle about variable statement in ECMAScript 262 standard

On page 88 of ECMAScript 262 standard, there is one statement which says "A variable with an Initialiser is assigned the value of its AssignmentExpression when the VariableStatement is executed, not when the variable is created." What does this mean? When will the VariableStatement be executed? Will it not be executed whenever an AssignmentStatement is assigned to it?

0 ANSWER


No answers available. You can post your answer below.

POST ANSWER


Sorry! You need to login first to post answer.

OR

Login with Facebook Login with Twitter


Back to top