adilb1617 adilb1617
  • 19-08-2020
  • Computers and Technology
contestada

What is the function of conditional (TERNARY) operator?

Respuesta :

zkthetiger
zkthetiger zkthetiger
  • 19-08-2020

Answer:

DEAR ITS YOUR ANSWER,

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 condition is truthy followed by a colon ( : ), and finally the expression to execute if the condition is falsy

Explanation:

Answer Link

Otras preguntas

where do jet stream blow/
Which linear inequality is represented by the graph?
William Tryon is credited for all of the following reforms in North Carolina except: O A. He created a permanent capital in New Bern O B. He stimulated economic
Help pleaseeeeeeeeee
True or False: Cigarette smoke has more than 40 different toxic chemicals that are known to cause lung cancer.
Please help what is this?
There are 8 fewer than double the number of students in the chorus than in the band. There are 54 members in the chorus. Which equation represents how to find t
Nick Nora & Nancy have pets. One has a kitten, one has a puppy, one has a gerbil. Nora has a gerbil. Nancy is a cousin of the person with the kitten. Who ha
John drove his car 385 miles on one tank of gas. If his car had 15.4 gallons of gas in it, how many miles per gallon did John drive?
Which cell is responsible for carrying oxygen throughout the body?