syntax condition

Question

( result 1, result 2) [condition]

 

In the above given syntax. of ternary operator, what does result 1 corresponded to?

in progress 0
YashikaKhurana 4 years 2 Answers 761 views Master 0

Answers ( 2 )

  1. Result 1 is displayed when the condition evaluates to false

  2. result1 is the first argument

Leave an answer

Browse
Browse