![Oliver Jumpertz on Twitter: "💛 JavaScript tip 💛 You can substitute an if- statement that checks for a falsy value with an expression using short-circuit evaluation and the logical or! 👇🏻 https://t.co/p1Lc8tSxCD" / Oliver Jumpertz on Twitter: "💛 JavaScript tip 💛 You can substitute an if- statement that checks for a falsy value with an expression using short-circuit evaluation and the logical or! 👇🏻 https://t.co/p1Lc8tSxCD" /](https://pbs.twimg.com/media/E3rmhA_XIA0bICf.jpg:large)
Oliver Jumpertz on Twitter: "💛 JavaScript tip 💛 You can substitute an if- statement that checks for a falsy value with an expression using short-circuit evaluation and the logical or! 👇🏻 https://t.co/p1Lc8tSxCD" /
![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/max/1008/1*r1NaWBH3NJgWWq8zfGEatw.png)
Let's simplify if statement with the Ternary Operator in JavaScript | by Shahjahan Md. Swajan | Medium
![20 JavaScript Shorthand Techniques that will save your time | by Amitav Mishra | JavaScript in Plain English 20 JavaScript Shorthand Techniques that will save your time | by Amitav Mishra | JavaScript in Plain English](https://miro.medium.com/max/2208/1*zflDDaWxGKw2Drgi_hreKg.jpeg)
20 JavaScript Shorthand Techniques that will save your time | by Amitav Mishra | JavaScript in Plain English
![Oliver Jumpertz on Twitter: "💛 JavaScript explained 💛 Short-circuit evaluation with the logical OR is an alternative way to using an if- statement with negation. Should you use it yourself? Probably not, but Oliver Jumpertz on Twitter: "💛 JavaScript explained 💛 Short-circuit evaluation with the logical OR is an alternative way to using an if- statement with negation. Should you use it yourself? Probably not, but](https://pbs.twimg.com/media/FI-KKt2XMAAcgKN.jpg:large)