Causes two expressions to be executed sequentially.
The , operator causes the expressions on either side of it to be executed in left-to-right order. The most common use for the , operator is in the increment expression of a for loop. For example:
The for statement only allows a single expression to be executed at the end of every pass through a loop. The , operator is used to allow multiple expressions to be treated as a single expression, thereby getting around the restriction.
Supported in the following document modes: Quirks, Internet Explorer 6 standards, Internet Explorer 7 standards, Internet Explorer 8 standards, Internet Explorer 9 standards. See Version Information.