+ 1
Answer Please this question.
4 Réponses
+ 5
The ternary operator is same for all programming languages (Atleast same for C, C++, Java, JavaScript)
https://code.sololearn.com/c0mjHQBT1ke3/?ref=app
+ 4
"This is " + (1>3) ? "truth from god(true)":"lying detail from monster(false)"
First one evaluated when true
Second one evaluated when false
That is my short reason
+ 1
var age = 68;
var isAdult = (age < 18) ? "Too young": "Old enough";
document.write(isAdult ); how var 1st is connect with var 2nd I put something var1st and var communicatie with it ? how