Question 20 Complete the statement below to answer what is output to the console? let weather = "stormy"; (weather) { ca
Posted: Fri Jul 08, 2022 7:26 am
Question 20 Complete the statement below to answer what is output to the console? let weather = "stormy"; (weather) { case "rainy": } message = "It is raining."; break; case "cloudy": message = "There is a chance it will rain."; break; case "thunder": message = "There is a storm out there."; break; default: message = "It is sunny."; console.log(message); switch There is a storm out there. switch It is sunny. case it is sunny. case There is a storm out there.