摘要: 三者作用相同、都是解决this指向问题,传参方式和运行方式 除了第一个参数(默认为window)call只接受参数列表,apply只接受参数数组 let test = { value:12 } function demo(name,sex){ console.log(name) console.lo 阅读全文
posted @ 2018-12-09 23:31 Model-Zachary 阅读(177) 评论(0) 推荐(0) 编辑