質問編集履歴
1
一部ソースが正確でなかったため修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -108,9 +108,9 @@
|
|
108
108
|
|
109
109
|
const el = document.getElementById("wrap");
|
110
110
|
|
111
|
-
|
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
|
|