Explain insert ternary operator.?
______________________________________
QUESTION;
Explain insert ternary operator.?
ANSWER;
- The ternary operator is an operator that exists in some programming languages,which takes three operands rather than typical one or two that most operators use. lt provides a way to shorten a simple of else block. for example,consider the below JavaScript code. var num =4, msg = "";if (num === 4 )
____________________________________