---
title: "Discussion on \"Wanna replace if  statements with something even shorter than ternary operator ? (Short-circuiting)\" | Hashnode"
description: "Discussion on \"Wanna replace if  statements with something even shorter than ternary operator ? (Short-circuiting)\". As we all know betting on Javascript can never make you go hungry. So why not use some of it's shortcuts in order to trim some code and make your developing life much easier. In Javascript you could \nuse short-circuiting the term represents that you ..."
url: "https://hashnode.com/posts/wanna-replace-if-statements-with-something-even-shorter-than-ternary-operator-short-circuiting/61db9357cda0d0294b699317"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Wanna replace if statements with something even shorter than ternary operator ? (Short-circuiting)](https://pritamdev.hashnode.dev/wanna-replace-if-statements-with-something-even-shorter-than-ternary-operator-short-circuiting?utm_source=hashnode&utm_medium=feed)

As we all know betting on Javascript can never make you go hungry. So why not use some of it's shortcuts in order to trim some code and make your developing life much easier. In Javascript you could use short-circuiting the term represents that you ...

Jan 10, 2022 · 6 min read · pritamdev.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#webdev](https://hashnode.com/tag/webdev)

## Written by

[Pritam](https://hashnode.com/@Pritaam)

@Pritaam

  
[View profile](https://hashnode.com/@Pritaam)

Do whatever you like life is short..

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
