Jika Lain Peringatan JS

alert((function(){ 
    if (cond) { return "Text when true";}
    else {return "Text when false");})());
Grieving Gnat