teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

スペルミスの修正

2020/06/18 08:17

投稿

rastynail3366
rastynail3366

スコア6

title CHANGED
File without changes
body CHANGED
@@ -9,7 +9,7 @@
9
9
  ```
10
10
 
11
11
  ```TypeScript
12
- const boxes = document.getElementByName("box");
12
+ const boxes = document.getElementsByName("box");
13
13
  for(let i = 0; i < boxes.length; i++){
14
14
  const box = boxes[i] //←ここの順番は毎回同じとみなせるのでしょうか?
15
15
  //boxに対する処理