箭头函数 与 forEach

array.forEach(function(item,index){

}.bind(this));

 

 

array.forEach((item,index) =>{

});

posted @ 2019-08-22 10:43  流星曳尾  阅读(8804)  评论(0编辑  收藏  举报