BLOCKS AND STATEMENTS
Local Variable Declaration Statements
14.3
If a statement evaluates an expression, abrupt completion of the expression
always causes the immediate abrupt completion of the statement, with the same
reason. All succeeding steps in the normal mode of execution are not performed.
Unless otherwise specified in this chapter, abrupt completion of a substate
ment causes the immediate abrupt completion of the statement itself, with the
same reason, and all succeeding steps in the normal mode of execution of the
statement are not performed.
Unless otherwise specified, a statement completes normally if all expressions
it evaluates and all substatements it executes complete normally.
14.2 Blocks
A
block
is a sequence of statements and local variable declaration statements
within braces.
Block:
{
BlockStatements
opt
}
BlockStatements:
BlockStatement
BlockStatements BlockStatement
BlockStatement:
LocalVariableDeclarationStatement
Statement
A block is executed by executing each of the local variable declaration state
ments and other statements in order from first to last (left to right). If all of these
block statements complete normally, then the block completes normally. If any of
these block statements complete abruptly for any reason, then the block completes
abruptly for the same reason.
14.3 Local Variable Declaration Statements
A
local variable declaration statement
declares one or more local variable names.
LocalVariableDeclarationStatement:
LocalVariableDeclaration
;
LocalVariableDeclaration:
Type VariableDeclarators
265
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved