JavaScript If-Else and If-Then – JS Conditional Statements
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
How to use a Ternary in JavaScript | by Mike Cronin | ITNEXT
Useful JavaScript shorthand collection | by Berkana | Bits and Pixels | Medium
Javascript Shorthand Coding Techniques - DEV Community