JavaScript Tutorial/Operators/Comma Operator — различия между версиями
(нет различий)
|
Версия 21:52, 25 мая 2010
, (Comma)
Syntax statement1, statement2, statement3
The comma allows multiple statements to be executed as one statement.
The value returned from this operation is the return value of the right-most statement.
<source lang="javascript">
<html>
<script language="JavaScript"> </script>
</html></source>