testing react/next.js + some builtin methods in js
This commit is contained in:
parent
1262da454d
commit
d5d5cdde23
|
@ -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;
|
||||||
// }
|
}
|
||||||
|
|
Loading…
Reference in a new issue