06-03-2023, 08:52 PM
If of interest.
IIF is like conditional (ternary) operators ...
... in C++:
... in javascript:
IIF is like conditional (ternary) operators ...
... in C++:
Code: (Select All)
(condition) ? true-clause : false-clause
... in javascript:
Code: (Select All)
condition ? exprIfTrue : exprIfFalse