Ternary Operator in JavaScript
The ternary operator is used when there are two possible outcomes of any condition i.e. true or false. We assign two codes to the operator, one for the condition if it is true and another for the condition if it is false.
This operator contains a que...
prashanthandel.hashnode.dev2 min read