回答編集履歴

1

調整

2020/03/25 02:33

投稿

yambejp
yambejp

スコア116726

test CHANGED
@@ -2,13 +2,9 @@
2
2
 
3
3
  ```javascript
4
4
 
5
- const func = function(a, b){
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