testing react/next.js + some builtin methods in js

This commit is contained in:
Geir Okkenhaug Jerstad 2024-09-05 14:46:32 +02:00
parent 1262da454d
commit d5d5cdde23

View file

@ -25,16 +25,16 @@ for (let current = 20; ;current = current +1){
} }
} }
// switch (prompt("What is the weather like?")) { switch (prompt("What is the weather like?")) {
// case "rainy": case "rainy":
// console.log("Remember to bring an umbrella."); console.log("Remember to bring an umbrella.");
// break; break;
// case "sunny": case "sunny":
// console.log("Dress lightly."); console.log("Dress lightly.");
// case "cloudy": case "cloudy":
// console.log("Go outside."); console.log("Go outside.");
// break; break;
// default: default:
// console.log("Unknown weather type!"); console.log("Unknown weather type!");
// break; break;
// } }