回答編集履歴

1

調整

2018/05/29 12:46

投稿

yambejp
yambejp

スコア114572

test CHANGED
@@ -34,7 +34,7 @@
34
34
 
35
35
  var td=document.createElement("td");
36
36
 
37
- td.appendChild(document.createTextNode(Math.floor (Math.random()*3)));
37
+ td.appendChild(document.createTextNode(Math.floor(Math.random()*3)));
38
38
 
39
39
  tr.appendChild(td);
40
40
 
@@ -52,7 +52,7 @@
52
52
 
53
53
  /*ここからチェック*/
54
54
 
55
- [].forEach.call(document.querySelectorAll("#t1 tr"),function(x,y){
55
+ [].forEach.call(document.querySelectorAll("#t1 tr"),function(x){
56
56
 
57
57
  if([].map.call(x.querySelectorAll("td"),function(x){
58
58