About 435,000 results
Open links in new tab
  1. JavaScript While Loop - W3Schools

    The do while loop is a variant of the while loop. This loop will execute the code block once, before checking if the condition is true, then it will repeat the loop as long as the condition is true.

  2. JavaScript while 循环 | 菜鸟教程

    do/while 循环是 while 循环的变体。 该循环会在检查条件是否为真之前执行一次代码块,然后如果条件为真的话,就会重复这个循环。

  3. while - JavaScript | MDN - MDN Web Docs

    Jul 8, 2025 · The while statement creates a loop that executes a specified statement as long as the test condition evaluates to true. The condition is evaluated before executing the statement.

  4. JavaScript While 循环 - w3school 在线教程

    do/while 循环是 while 循环的变体。 在检查条件是否为真之前,这种循环会执行一次代码块,然后只要条件为真就会重复循环。

  5. JavaScript While循环 - 极客教程

    JavaScript中最基本的循环是while循环,本章将讨论它。 while循环的目的是根据一个表达式的真值重复执行一个语句或代码块。

  6. JavaScript while 循环示例 - JavaScript 教程

    JavaScript while 循环 概述:在本教程中,您将学习如何使用 JavaScript while 语句创建循环,该循环在条件为 true 时执行代码块。

  7. S04L02 – JavaScript 中的 while 循环 – Studyeasy

    A comprehensive guide to mastering while loops in JavaScript, including syntax, comparisons with for loops, practical examples, and best practices.

  8. JavaScript while Loop By Examples

    This tutorial shows how to use the JavaScript while loop statement to create a loop that executes a block as long as a condition is true.

  9. JavaScript while while loop 用法 - JavaScript (JS) 教學 Tutorial

    JavaScript while 迴圈語法 跟 for 語法 用途一樣,while 是另一種迴圈語法,用來重覆執行 while 區塊內的語句。 語法: while (condition) { // statements } 當 condition 為 true 時,則重覆執行 …

  10. while - JavaScript - MDN

    while 语句创建一个循环,只要测试条件求值为真,则循环执行指定语句。 在执行语句前会先对条件进行求值。