---
title: "Discussion on \"Ternary Operator in Javascript\" | Hashnode"
description: "Discussion on \"Ternary Operator in Javascript\". Lets get started:\nWhat is a ternary operator?\nA ternary operator in computer programming, is a conditional operator. The conditional statements are the decision-making statements which depends upon the output of the expression.\nThe ternary operator i..."
url: "https://hashnode.com/posts/ternary-operator-in-javascript/63baa3a51ec730fadfb89b2a"
---

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

Discussion

# [Ternary Operator in Javascript](https://rasika.hashnode.dev/ternary-operator-in-javascript?utm_source=hashnode&utm_medium=feed)

Lets get started: What is a ternary operator? A ternary operator in computer programming, is a conditional operator. The conditional statements are the decision-making statements which depends upon the output of the expression. The ternary operator i...

Jan 8, 2023 · 2 min read · rasika.hashnode.dev  
Read the article

-   [#ternary-operator](https://hashnode.com/tag/ternary-operator)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#if-else](https://hashnode.com/tag/if-else)
-   [#conditional-statement](https://hashnode.com/tag/conditional-statement)
-   [#expressions](https://hashnode.com/tag/expressions)

## Written by

[Rasika Khapate](https://hashnode.com/@rasika99)

@rasika99

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
