Contoh operator bersyarat JS


        
            
        
     var age = 19;
var canDrive = age > 16 ? 'yes' : 'no';
Expensive Eagle