• Sign in
  • Sign up 
  • Welcome
  • FAQ
  • Block Explorer 
  • Night Mode
  • Stolen Accounts Recovery 
  • Change Account Password 
  • Vote for Witnesses 
  • Hive Proposals 
  • OpenHive Chat 
  • Developer Portal 
  • Hive Whitepaper 
  • Privacy Policy
  • Terms of Service
logo
  • Posts
  • Proposals
  • Witnesses
  • Our dApps
LoginSign up
You are viewing a single comment's thread from:

RE: JavaScript开发笔记

  • View the full context
lemooljiang (75)in #starnote • 8 hours ago
//while
while (i < 100) {
  console.log('i 当前为:' + i);
  i = i + 1;
}

//for
for (var i = 0; i < x; i++) {
  console.log(i);
}

//do while
do {
  console.log(i);
  i++;
} while(i < x);
8 hours ago in #starnote by lemooljiang (75)
$0.00
    Reply 0
    Sort:  
  • Trending
    • Trending
    • Votes
    • Age