回答編集履歴
1
調整
test
CHANGED
@@ -2,13 +2,9 @@
|
|
2
2
|
|
3
3
|
```javascript
|
4
4
|
|
5
|
-
const func =
|
5
|
+
const func =(a,b)=>a+b;
|
6
6
|
|
7
|
-
return a+b;
|
8
|
-
|
9
|
-
}
|
10
|
-
|
11
|
-
const dic = {a:1, b:2}
|
7
|
+
const dic = {a:1, b:2};
|
12
8
|
|
13
9
|
console.log(func(...Object.values(dic)));
|
14
10
|
|