Java Reference
In-Depth Information
Operator Type
Operators
Evaluation Order for Like Elements
In
in
Left to right
Instance of
instanceof
Left to right
Equality
==, !=, ===, !===
Left to right
Bitwise AND
&
Left to right
Bitwise XOR
^
Left to right
Bitwise OR
|
Left to right
Logical AND
&&
Left to right
||
Logical OR
Left to right
Conditional
?:
Right to left
Assignment
=, +=, -=, *=, /=,
%=, <<=, >>=, >>>=,
&=, ^=, |=
Right to left
Comma
,
Left to right
JavaScript Statements
The following tables describe core JavaScript statements.
Block
JavaScript blocks start with an opening curly brace ({) and end with a closing curly brace (}). Block
statements are meant to make the contained single statements execute together, such as the body of a
function or a condition.
Statement
Introduced
Description
{ }
JavaScript 1.5
Used to group statements as delimited by the curly brackets.
Search WWH ::




Custom Search