2019年3月16日

JavaScript循环语句

摘要: while 条件检测会在每次 statement 执行之前发生。条件检测为 true 才会执行 statement。 var n = 0; var x = 0; while (n < 3) { n++; x += n; } do while statement 在条件检测之前会执行一次。直到条件检测 阅读全文

posted @ 2019-03-16 07:55 dawnxuuu 阅读(70) 评论(0) 推荐(0) 编辑

导航