let signal = "yellow";
// write logic here
if(signal == "green") {
console.log("Go");
}
else if(signal == "yellow") {
console.log("Wait");
}
else if(signal == "red") {
console.log("Stop");
}
else{
console.log("Error");
}
try this one it will work 100%