![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
Flash Player 4.
expression1
,expression2
None.
Nothing.
Operator; evaluates expression1
, then expression2
, and returns the value of expression2
. This operator is primarily used with the for
loop statement.
The following code sample uses the comma operator:
var a=1, b=2, c=3;
This is equivalent to writing the following code:
var
a=1;var
b=2;var
c=3;
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |