随笔分类 -  JavaScript学习笔记

摘要://array.forEach(function(currentValue,index,arr),thisValue);//currentValue,必需,当前元素//index 可选,当前元素的索引值//arr 可选,当前元素所属的数组对象//thisValue 可选,传递给函数的值一般用this值,如果参数为空,undefined会传递给this var num = [1,3,5,7]... 阅读全文
posted @ 2017-09-07 08:15 大一脚步 阅读(273) 评论(0) 推荐(0)