This article explains the various loop statements in JavaScript, such as the while, do_while, and for loops.
Editorial changes — reviews, status changes and edits — are shown to the author of this article and to the editors.