12 2019 档案
摘要:1 function foo (...args) { return args.reduce(function (previousValue, currentValue) { // console.log(previousValue, currentValue) return previousValu
阅读全文
摘要:1. 普通的函数调用时,this 指的是 global 对象,由于 global 对象是作为 window 对象的一部分实现的,因此 this 认为是 window 对象 // 1. 普通的函数调用时 function max () { this.x = 1; // this 指的是 global
阅读全文

浙公网安备 33010602011771号