---
title: "Discussion on \"Short Circuiting in \"OR\" Operator\" | Hashnode"
description: "Discussion on \"Short Circuiting in \"OR\" Operator\". const one = false || {} || null ;const two  = null || false || \"\" ;const three = [] || 0 || true ;\nconsole.log(one, two, three);\n\n\nBefore jumping into the solution, first let's understand what is in this problem.The short circuiting of logical operat..."
url: "https://hashnode.com/posts/short-circuiting-in-or-operator/61d3b7df98628373c7a0553b"
---

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

Discussion

# [Short Circuiting in "OR" Operator](https://codefree.hashnode.dev/short-circuiting-in-or-operator?utm_source=hashnode&utm_medium=feed)

const one = false || {} || null ;const two = null || false || "" ;const three = \[\] || 0 || true ; console.log(one, two, three); Before jumping into the solution, first let's understand what is in this problem.The short circuiting of logical operat...

Jan 4, 2022 · 3 min read · codefree.hashnode.dev  
Read the article

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

## Written by

[Ramalinga](https://hashnode.com/@codebit)

@codebit · Hyderabad, India

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

Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
