質問編集履歴
1
showAlert2\(\)の条件を1以下の場合に表示したかったので、"x2"を"x2!"にし、"=="を"<="へ変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -42,7 +42,7 @@
|
|
42
42
|
|
43
43
|
showAlert1()
|
44
44
|
|
45
|
-
} else if x2 =
|
45
|
+
} else if x2! <= 1{
|
46
46
|
|
47
47
|
showAlert2()
|
48
48
|
|