Why does my temperature checker always say freezing?
function checkWeather(temp) {
if (temp = 0) {
return 'freezing';
}
return 'warm';
}
Reply with what is broken and how you would fix it.
Why does my temperature checker always say freezing?
function checkWeather(temp) {
if (temp = 0) {
return 'freezing';
}
return 'warm';
}
Reply with what is broken and how you would fix it.
:: Copyright KIRUPA 2024 //--