与java相同
do while 循环与java相同
for循环与java相同
for of 循环 var age1=[1,561,51,65156,1,51,5,3,5,4];
for(let num of age1){
console.log(num)
}
forEach循环
var age1=[1,61,51,65156,1,51,5,3,5,4];
age1.forEach(function (value) {
console.log(value)
})



