---
title: "Discussion on \"Conditional Ternary Operator\" | Hashnode"
description: "Discussion on \"Conditional Ternary Operator\". Conditional ternary operator is a short syntax of the more common if and if-else statements. It is used to render something based on a specified condition."
url: "https://hashnode.com/posts/conditional-ternary-operator/615f51778e8734462af5d546"
---

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

Discussion

# [Conditional Ternary Operator](https://moyinadenuga.hashnode.dev/conditional-ternary-operator?utm_source=hashnode&utm_medium=feed)

Conditional ternary operator is a short syntax of the more common if and if-else statements. It is used to render something based on a specified condition.

Oct 7, 2021 · 2 min read · moyinadenuga.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#learn-coding](https://hashnode.com/tag/learn-coding)

## Written by

[Moyinoluwa Adenuga](https://hashnode.com/@MoyinoluwaA)

@MoyinoluwaA · Nigeria

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

Software Developer

A software developer who is constantly learning and has experience in web development

## Responses 1

Markdown supported · ⌘↵ to post

[Valentine Samuel](https://hashnode.com/@engineeringval)

[Aug 17, 2022](https://hashnode.com/posts/conditional-ternary-operator/615f51778e8734462af5d546/comment/62fd162a0cfd6de8c7d788af)

This is soo helpful.. Well written.. Please keep writing..👏👏
