質問編集履歴

1

一部ソースが正確でなかったため修正

2021/01/06 02:43

投稿

tesopgmh
tesopgmh

スコア146

test CHANGED
File without changes
test CHANGED
@@ -108,9 +108,9 @@
108
108
 
109
109
  const el = document.getElementById("wrap");
110
110
 
111
- let count = el.children.length
111
+ const count = el.children.length
112
112
 
113
- for(i=0;i<count;++i){
113
+ for(let i=0;i<count;++i){
114
114
 
115
115
  if(el.children[i].hasAttribute("id")){
116
116