JavaScript Basic notes 2.
Q.1) Ternary Operator In js.
Ans. It's basically like an if else condition. But there was a major difference between the if else condition and the ternary operator. The ternary operator syntax is too small.
syntax:
condition? true statement: false st...
ankushdhiman.hashnode.dev2 min read