hi, i have a problem… i cant send the test because the step one told me i should have only one if instruction but i have only one. i know the test are correct but i cant send it.
function testElse(val) {
var result = "";
// Modifica il codice solo sotto questa riga
if (val > 5) {
result = "Bigger than 5";
}else {
result = "5 or Smaller";
}
// Modifica il codice solo sopra questa riga
return result;
}
testElse(4);
**Informazioni del tuo browser:**
Lo user agent è: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36
Sfida: Introduzione alle dichiarazioni Else
Link alla sfida: