随笔分类 -  ES6

摘要:let arr = ['apple', 'banana', 'orange', 'tomato']; //循环内容 for(let val of arr) { console.log(val); } //循环索引 for(let index of arr.keys()) { consol... 阅读全文
posted @ 2018-05-29 15:45 纡ゾ少︶ㄣ 阅读(109) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示