operatorsJavaScriptOperatorsEasyWhat is the syntax of the ternary operator?1condition ? expr1 : expr22condition : expr1 ? expr23if condition then expr1 else expr24condition => expr1 | expr2Back to list