What is the output of this program?
let weather = "sunny";
if (weather = "rain") {
document.write("wear a raincoat.");
}
else {
document.write("No raincoat needed today!");
}
let weather = "sunny";
if (weather = "rain") {
document.write("wear a raincoat.");
}
else {
document.write("No raincoat needed today!");
}