So, forexample, what I meanbythatiswhenyoucreatevariablesusingfarthatgetslandedintothevariableenvironmentorthesamethingforletitstillgoesintothevariableenvironment.
Nowlet's saywhatcreatethisfunctionintheglobalscopeandcallit F A.
Insidethisfunction, weassigntheexpropertyoninthisobjecttoone, andsowhathappenshereisthatoncewerun, if a functionbecausewe'rewritingitfromtheglobalscope.
Onthecontrary, noticedthatherewecreated a newvariablecalled M andassignedthisobjectmethodthatwehavejustcalledherebutnoticedthatthismethodiscreatedintheglobalscope.
Sowhathappenshereiswhenweactuallycallthemethod M, theresultofthisoperationwillnotbeone.
Itwillbe a globalscopebecauseagainthismethodhasbeentransferredintotheglobalscopesothatthiscontextinthisfunctionwillrefertotheglobalscopevariabledefinedbytheglobalscope.
Nowyou'llhave a lotofcaseslikethiswhereyouhave a functioncallinganotherfunction, anditjustkeepschangingthefunctioncalls.
Inthiscase, youwillgrow a tallercallstackofallofthisexecutioncontexts, andonethingtonoticehereisbecause a thefirstfunctionwascalledwithintheglobalscope.
What's gonnahappenisyou'llhave a chainofthisbindingsallthewayuptothefunction.
Seewhichisthelastonetobecold, andthisfunction C willalsowithinthisfunction, thiscured.
Butifyou'rejustcallingfunctionswithintheglobalscopeandexecutethemstartingfromthe 1st 1 anditgoesinto a B and C andsoonsoforth, youwillretaintheoriginalglobalscopebindingoffthis.
Soit's sortoflike a chaintreated, andthatgoesallthewayuptothenumberoffunctionsthatyou'regoingtocall.