<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<script>
var count =10;
// while(1){
//
// if(count==10){
// // 程序退出while
// break
// }
//
// alert(count)
//
// count++
// }
while (count <10){
alert('跑一圈,这是第'+count+'圈')
count ++
}
count =0
// do {
// alert('跑了一圈,count='+count)
// count++
//
// }while(count <10);
var first = 201601
var sum = 56
// while(count<sum){
//
// alert(' 学号='+first)
// first++
// count++
// }
for ( count=0;count<=45;count++){
alert(' 学号='+first)
first++
}
</script>
</body>
</html>