mozilla

Compare Revisions

Conditional (ternary) Operator

Change Revisions

Revision 482775:

Revision 482775 by Mrsonord on

Revision 497603:

Revision 497603 by fusionchess on

Title:
Conditional Operator
Conditional Operator
Slug:
Web/JavaScript/Reference/Operators/Conditional_Operator
Web/JavaScript/Reference/Operators/Conditional_Operator
Tags:
"Operators", "ternary"
"Operators", "ternary"
Content:

Revision 482775
Revision 497603
t111      You can also do more than one operation during the assignatt111      You can also do more than one operation during the assignat
>ion of a value. In this case, the last comma-separated value of t>ion of a value. In this case, <strong><em>the last comma-separate
>he parenthesis will be the value to be assigned.>d value of the parenthesis</em> will be the value to be assigned<
 >/strong>.

Back to History