Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function weatherForecast (input) {
- let weather = input[0];
- if(weather == input[0]) {
- console.log("It's warm outside!")
- } else {
- console.log("It's cold outside!")
- }
- }
- weatherForecast(["sunny"])
Advertisement
Add Comment
Please, Sign In to add comment