![Short Hand Techniques for Javascript Developers1. The Ternary Operator:This is a great code saver when you want to write an if..else statement in just one line. - Study24x7 Short Hand Techniques for Javascript Developers1. The Ternary Operator:This is a great code saver when you want to write an if..else statement in just one line. - Study24x7](https://s3.ap-south-1.amazonaws.com/247-post/img/f2e332f0-9fe3-11ea-bf3d-d3cce1edbd06.png)
Short Hand Techniques for Javascript Developers1. The Ternary Operator:This is a great code saver when you want to write an if..else statement in just one line. - Study24x7
![If / Else Statements vs Ternary Operators in JavaScript | by Alex Richards | JavaScript in Plain English If / Else Statements vs Ternary Operators in JavaScript | by Alex Richards | JavaScript in Plain English](https://i.ytimg.com/vi/IsG4Xd6LlsM/maxresdefault.jpg)
If / Else Statements vs Ternary Operators in JavaScript | by Alex Richards | JavaScript in Plain English
![Rick Viscomi on Twitter: "I used an ancient JS statement for the first time and it was oddly cool: the labeled statement https://t.co/BxeXYtbJ4Q I wasn't inside of a function but I wanted Rick Viscomi on Twitter: "I used an ancient JS statement for the first time and it was oddly cool: the labeled statement https://t.co/BxeXYtbJ4Q I wasn't inside of a function but I wanted](https://pbs.twimg.com/media/Dhy8fi-WkAEF_oe.jpg:large)
Rick Viscomi on Twitter: "I used an ancient JS statement for the first time and it was oddly cool: the labeled statement https://t.co/BxeXYtbJ4Q I wasn't inside of a function but I wanted
![Let's simplify if statement with the Ternary Operator in JavaScript | by Shahjahan Md. Swajan | Medium Let's simplify if statement with the Ternary Operator in JavaScript | by Shahjahan Md. Swajan | Medium](https://miro.medium.com/v2/resize:fit:1008/1*r1NaWBH3NJgWWq8zfGEatw.png)