About 200,000 results
Open links in new tab
  1. Conditional (ternary) operator - JavaScript | MDN

    Jul 8, 2025 · The conditional (ternary) operator is the only JavaScript operator that takes three operands: a condition followed by a question mark (?), then an expression to execute if the …

  2. Ternary - Wikipedia

    Ternary Look up ternary in Wiktionary, the free dictionary. Ternary (from Latin ternarius) or trinary is an adjective meaning "composed of three items". It can refer to:

  3. Ternary Operator in Programming - GeeksforGeeks

    Mar 26, 2024 · The ternary operator is a conditional operator that takes three operands: a condition, a value to be returned if the condition is true, and a value to be returned if the …

  4. Java Short Hand If...Else (Ternary Operator) - W3Schools

    There is also a short-hand if else, which is known as the ternary operator because it consists of three operands. It can be used to replace multiple lines of code with a single line, and is most …

  5. How do I use the conditional (ternary) operator? - Stack Overflow

    The ternary operator ? is a way of shortening an if-else clause, and is also called an immediate-if statement in other languages (IIf(condition,true-clause,false-clause) in VB, for example).

  6. TERNARY Definition & Meaning - Merriam-Webster

    The meaning of TERNARY is of, relating to, or proceeding by threes. How to use ternary in a sentence.

  7. TERNARY | English meaning - Cambridge Dictionary

    TERNARY definition: 1. consisting of three parts 2. using the number three as a base (= the number on which a counting…. Learn more.

  8. How to Use the Ternary Operator in JavaScript – Explained with …

    Feb 27, 2024 · A ternary operator is a conditional operator in JavaScript that evaluates a conditional expression and returns either a truthy or falsy value. To understand how this …

  9. This Number System Beats Binary, But Most Computers Can't Use It

    3 days ago · Yet today ternary computers are just hobby projects. How did this come to be? In principle, any number can be represented by any number system, whether the latter be base …

  10. TERNARY Definition & Meaning | Dictionary.com

    Ternary definition: consisting of or involving three; threefold; triple.. See examples of TERNARY used in a sentence.