Lately there are many sudden rain...
What I did
- Continue watching video. Learn JavaScript
What I learned
- Nested arrays
- for and while loop
for (var i = 0; i < 10; i += 2) {
console.log(i); // 2, 4, 6, 8
}
for (var i = 10; i > 0; i -= 2 ) {
console.log(i); // 8, 6, 4, 2
}
- nested for loop I have frequently used this when I conducted graduation study.
- Random (Math.random, Math.floor)
Top comments (0)