up
This commit is contained in:
parent
20784e7f26
commit
7019d1470d
48 changed files with 1019 additions and 464 deletions
|
@ -218,7 +218,7 @@ let age = prompt('Your age?', 18);
|
|||
|
||||
switch (age) {
|
||||
case 18:
|
||||
alert("Won't work"); // the result of prompt is a string, not a number число
|
||||
alert("Won't work"); // the result of prompt is a string, not a number
|
||||
|
||||
case "18":
|
||||
alert("This works!"");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue