```javascript ``` let arr = [1,2,3,4,5] let index = 0 function fn(arr, cb) { console.log(index) if (index < arr.length) { index++ fn(arr, cb) } } fn(arr, function (data) { console.log(data) })
点赞 评论

相关推荐

03-07 17:51
已编辑
南华大学 后端工程师
asdasdasda...:也不知道是不是真的被逼呢,也有可能女方有很多东西瞒着男方,这种东西男方什么情况都不知道全靠女方说,很难评的
点赞 评论 收藏
分享
牛客网
牛客网在线编程
牛客网题解
牛客企业服务