Day6 of 100DaysOfJavaScript

day6-of-100daysofjavascript

Lately there are many sudden rain…

What I did

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)
Total
0
Shares
Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post
introduction-to-functional-programming-in-javascript:-applicatives-#10

Introduction to Functional Programming in JavaScript: Applicatives #10

Next Post
understanding-the-`this`-keyword-in-javascript

Understanding the `this` Keyword in JavaScript

Related Posts