- 1
Why Conditional Operator Is Not Working? | JS
When I put numeric value in place of variable, it works! But when I use variable, it shows error, Why??? https://code.sololearn.com/W29bWk0rcN75/?ref=app
2 Antworten
+ 1
Himanshu Rai put the semi colon after prompt("text) ;
0
Bagon okk. But can you answer why parentheses causing error?
Or what is the problem these parentheses producing?