Blogger Ternary Operator

?: or ternary condition is the only operator that takes three argument. Like the Selectors, the first is a comparison argument, the second is the result upon a true comparison, and the third is the result upon a false comparison. This operator is frequently used as a shortcut for the if / else statement. An expression Baz ? Foo : Bar will evaluates to Foo if the value of a is true, and otherwise

0 Response to "Blogger Ternary Operator"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel