how ti use ternary operator by usind four conditions code example
Example 1: js ternary
condition ? ifTrue : ifFalse
Example 2: js ternary if else
ternary if else example
condition ? ifTrue : ifFalse
ternary if else example