跳到主要内容

函数 call 和 apply 的区别

function fn(e) {
}
fn.call(this, p1, p2, p3)
fn.apply(this, arguments)