Function.prototype.myCall = function (context, ...paramsArr) {
if (context === null || context === undefined) {
context = window;
} else {
context = Object(context); // ***
}
const specialPrototype = Symbol("特殊属性Symbol");
context[specialPrototype] = this;
const result = contextspecialPrototype;
delete context[specialPrototype];
return result;
};