ProghubPH
Вопрос из теста JavaScript основы
JS / junior

Что выведет на консоль?

 один вариант
var iLoveJavaScript = true; 
var iLoveLearning = false; 
 
if(iLoveJavaScript && iLoveLearning) { 
  console.log("Awesome! Let's keep learning!"); 
} else if(!(iLoveJavaScript || iLoveLearning)) { 
  console.log("Let's see if we can change your mind."); 
} else { 
  console.log("You only like one but not the other? We'll work on it."); 
} 
Awesome! Let's keep learning!
Let's see if we can change your mind.
You only like one but not the other? We'll work on it.
Undefined