摘要: let colors = ["red","yellow","blue"]; colors.forEach((color)=>{ console.log(color); //red // yellow // blue }) let numbers = [1,3,45,67]; numbers.forEach(function(item,index,arr){ ... 阅读全文
posted @ 2019-09-04 21:05 砂糖一椰子 阅读(18342) 评论(0) 推荐(1) 编辑