摘要:
Thethisvalueintheglobalexecutioncontext,referstotheglobalobject,e.g.:this===window;//trueForFunctionCode,itreallydependsonhowdoyouinvokethefunction,forexample,thethisvalueisimplicitlysetwhen:Callingafunctionwithnobaseobjectreference:myFunc();Thethisvaluewillalsorefertotheglobalobject.Callingafunctio 阅读全文