回答編集履歴
1
1
test
CHANGED
@@ -9,3 +9,17 @@
|
|
9
9
|
}
|
10
10
|
|
11
11
|
```
|
12
|
+
|
13
|
+
--- 追記 ---
|
14
|
+
|
15
|
+
文字列でもいけるみたいスね
|
16
|
+
|
17
|
+
```javascript
|
18
|
+
|
19
|
+
if ('AB'.includes(category)) {
|
20
|
+
|
21
|
+
console.log("HIT!")
|
22
|
+
|
23
|
+
}
|
24
|
+
|
25
|
+
```
|