weixin_33755649的博客throw new TypeError('Error') } var _this = this var args = [...arguments].slice(1) // 返回一个函数 return function F() { // 因为返回了一个函数,我们可以 new F(),所以需要判断 if (this instanceof F) { ...
weixin_34237596的博客TypeError ( 'Error' ) } var _this = this var args = [...arguments].slice( 1 ) // 返回一个函数 return function F ( ) { // 因为返回了一个函数,我们可以 new F(),所以需要判断 if ...