Home > Web Front-end > JS Tutorial > Dayf DaysOfJavaScript

Dayf DaysOfJavaScript

WBOY
Release: 2024-07-17 08:24:27
Original
1099 people have browsed it

Dayf DaysOfJavaScript

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
}

Copy after login
  • nested for loop I have frequently used this when I conducted graduation study.
  • Random (Math.random, Math.floor)

The above is the detailed content of Dayf DaysOfJavaScript. For more information, please follow other related articles on the PHP Chinese website!

source:dev.to
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template