回答編集履歴

1

ちょうせい

2021/09/17 01:02

投稿

yambejp
yambejp

スコア114843

test CHANGED
@@ -14,7 +14,9 @@
14
14
 
15
15
  .then(dom=>[...dom.querySelectorAll('.loader > *')])
16
16
 
17
+ .then(arr=>arr.reduce((x,y)=>x.appendChild(y),document.createDocumentFragment()))
18
+
17
- .then(docs=>docs.forEach(doc=>box_01.appendChild(doc)));
19
+ .then(frg=>box_01.appendChild(frg));
18
20
 
19
21
  });
20
22