• This project
    • Loading...
  • Sign in

손희승 / OSS

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • OSS
  • Experiments
  • experiments07
  • Tutorial
  • whileStatement.js
  • Dexter Jin's avatar
    Chapter 07 Updated · e9077cb0
    e9077cb0
    Dexter Jin authored 2018-09-03 22:28:47 +0900
whileStatement.js 312 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
var count = 0;
console.log("Starting Loop ");

while (count < 10) {
  console.log("Current Count : " + count);
  count++;
}
console.log("Loop stopped!");


var count = 0;
console.log("Starting Loop");
do {
  console.log("Current Count : " + count);
  count++;
} while (count < 5);
console.log ("Loop stopped!");