回答編集履歴
1
修正
test
CHANGED
@@ -6,7 +6,9 @@
|
|
6
6
|
|
7
7
|
const checkIt = (x, y, A, B, C) => {
|
8
8
|
|
9
|
-
if (x
|
9
|
+
if (x === A || x === B) return true;
|
10
|
+
|
11
|
+
if (x !== C) return false;
|
10
12
|
|
11
13
|
if (y === 1 || y === 2) return true;
|
12
14
|
|