回答編集履歴
2
add pattern
answer
CHANGED
@@ -15,7 +15,9 @@
|
|
15
15
|
console.log(x + y);
|
16
16
|
}
|
17
17
|
|
18
|
-
addition(1, 1);
|
18
|
+
addition(1, 1); // 1 + 1
|
19
19
|
addition('1', '1'); // '1' + '1'
|
20
|
+
addition('1', 1); // '1' + 1
|
21
|
+
addition(1, '1'); // 1 + '1'
|
20
22
|
```
|
21
23
|
([こちら](https://codepen.io/tksfkd/pen/LYPgpVR)で試せます)
|
1
CodePenに変更
answer
CHANGED
@@ -18,4 +18,4 @@
|
|
18
18
|
addition(1, 1); // 1 + 1
|
19
19
|
addition('1', '1'); // '1' + '1'
|
20
20
|
```
|
21
|
-
([こちら](https://
|
21
|
+
([こちら](https://codepen.io/tksfkd/pen/LYPgpVR)で試せます)
|