Answers for "examples of Conditional Operator js"

50

js ternary

condition ? ifTrue : ifFalse
Posted by: Guest on April-10-2020
1

examples of Conditional Operator js

var age = 19;
var canDrive = age > 16 ? 'yes' : 'no';
Posted by: Guest on August-11-2020

Code answers related to "examples of Conditional Operator js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language