Ternary Operator in Javascript
Introduction
In this post, we'll discuss what the ternary operator is, how it is used, when to use it and discuss how it compares to other constructs such as if/else, if/else if/else and switch.
What is Ternary Operator?
The ternary operator in JavaS...
annmwas1998.hashnode.dev4 min read