We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f15bfab + efb5c37 commit 9648103Copy full SHA for 9648103
docs/2-browser-apps/05-array/_samples/Array-class/script.js
@@ -1,6 +1,6 @@
1
//Array#push メソッドを用いて、フィボナッチ数列の配列を作成
2
const f = [1, 1];
3
-for (let i = 0; i < 100; i++) {
+for (let i = 0; i < 100; i += 1) {
4
f.push(f[f.length - 1] + f[f.length - 2]);
5
}
6
docs/2-browser-apps/05-array/index.md
@@ -121,7 +121,7 @@ document.write(studentNames.length); // 4
121
```javascript
122
123
124
125
126
127
//作成した配列の各要素を for ~ of 文を用いて出力
0 commit comments