Blogger Information
Blog 32
fans 0
comment 0
visits 23813
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
while循环等-2019年5月6日21点00分
小李广花荣
Original
602 people have browsed it
  1. 下面将展示写的循环等代码

实例

var arr=[1,2,3,4,5,6,7,8,9];
var a=0;
while(arr[a]){
    if(arr[a]%2!=0)
    {
    console.log(arr[a]);
    }
    a++;
}


var $a={user:'华为',ida:'2000'};

var num=function(a,b,c){
    var num1=a+b+c;
    
    console.log(num2);
};
num(1,2,3);

运行实例 »

点击 "运行实例" 按钮查看在线实例

2.上述代码学会了在逻辑上循环的思维

 和定义函数

Correction status:Uncorrected

Teacher's comments:
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post