回答編集履歴

1

ちょうせい

2021/12/13 09:48

投稿

yambejp
yambejp

スコア116724

test CHANGED
@@ -1,6 +1,6 @@
1
1
  ```javascript
2
2
 
3
- const json='[{"text": "I","data": {}},{"text": " ","data": {}},{"text": "like","data": {}},{"text": " ","data": {}},{"text": "yellow","data": {}},{"text": "lemon","data": {}}]';
3
+ const json='[{"text": "I","data": {}},{"text": " ","data": {}},{"text": "like","data": {}},{"text": " ","data": {}},{"text": "yellow","data": {}},{"text": " ","data": {}},{"text": "lemon","data": {}}]';
4
4
 
5
5
  const result=JSON.parse(json).map(x=>x.text).join('');
6
6
 
@@ -9,3 +9,5 @@
9
9
 
10
10
 
11
11
  ```
12
+
13
+ ※半角スペース調整しました