回答編集履歴
1
JavaScriptではintとは書けませんでした
answer
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
* `todos.forEach((_,index) => `のように、受け取るけど無視する(無視する引数は、慣習的にアンダーバーのみ、あるいはアンダーバーから始まる名前にされます)
|
2
|
-
* `for(
|
2
|
+
* `for(let i = 0; i < todos.length; ++i)`のように`for`で回す
|