回答編集履歴

1

回答コードに一部誤りがあったため

2021/08/03 02:02

投稿

nekoniki
nekoniki

スコア2409

test CHANGED
@@ -12,11 +12,11 @@
12
12
 
13
13
 
14
14
 
15
- const result = arr.map((num) => {
15
+ const result = {hogehoge: arr.map((num) => {
16
16
 
17
17
  return { "num" : num }
18
18
 
19
- });
19
+ })};
20
20
 
21
21
  console.log(result);
22
22