Implicit conversion ternary operator Boolean expression, the use of
The basic wording
var res = confirm ( "You want to quit?"); res == true alert ( 'OK to exit'):? alert ( "Cancel to exit");
Implicit conversion ternary operator Boolean expression, the use of
The basic wording
var res = confirm ( "You want to quit?"); res == true alert ( 'OK to exit'):? alert ( "Cancel to exit");