Question 20 Complete the statement below to answer what is output to the console? let weather = "stormy"; (weather) { ca
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Question 20 Complete the statement below to answer what is output to the console? let weather = "stormy"; (weather) { ca
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.