aaaa
This commit is contained in:
46
teaching/林锦绣/xunhuan.html
Normal file
46
teaching/林锦绣/xunhuan.html
Normal file
@@ -0,0 +1,46 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
// while
|
||||
// for
|
||||
// for in
|
||||
// do while
|
||||
|
||||
// 1.while
|
||||
// var a=0
|
||||
// while(a<=100){
|
||||
// console.log(a)
|
||||
// a++
|
||||
// }
|
||||
|
||||
// 2. do while
|
||||
// var a=0
|
||||
// do{
|
||||
// console.log(a)
|
||||
// a++
|
||||
// }while(a<=100)
|
||||
|
||||
|
||||
// 3. for
|
||||
// for(var a=0;a<=100;a++){
|
||||
// console.log(a)
|
||||
// }
|
||||
|
||||
// var arr=[1,2,3,4,5]
|
||||
// for(var i in arr){
|
||||
// console.log(i,arr[i])
|
||||
// }
|
||||
|
||||
// while(true){
|
||||
|
||||
// }
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user