回答編集履歴

1

調整

2021/05/12 06:55

投稿

yambejp
yambejp

スコア116730

test CHANGED
@@ -11,3 +11,21 @@
11
11
  ["2020/12/31", "1926.0","1926.0"]
12
12
 
13
13
  ```
14
+
15
+ 配列でいいなら
16
+
17
+ ```javascript
18
+
19
+ const data = [
20
+
21
+ {"Date": "2020/12/31", "Adjusted_close": "1926.0","Open": "1926.0","Code": "9201","Country": "Japan"},
22
+
23
+ {"Date": "2020/12/30", "Adjusted_close": "1924.0","Open": "1928.0","Code": "9201","Country": "Japan"},
24
+
25
+ ];
26
+
27
+ const result= data.map(x=>[x.Date,x.Adjusted_close,x.Open]);
28
+
29
+ console.log(result);
30
+
31
+ ```