12-5- the context of this

<! DOCTYPE HTML > 
< HTML lang = "EN" > 
< head > 
    < Meta charset = "UTF-. 8" > 
    < title > the Title </ title > 
</ head > 
< body > 
< Script > 
    // IF (window. requestAnimationFrame ()) {} 
    // in the low version ie, this is not supported by the window if not, then do not enter such judgment error but directly to the program can not be executed 
    // after it added a window, can be Analyzing the 

    function a () { 
        the console.log ( the this === window);
    }
    A ();
    // function execution from this point window 
</ Script > 
</ body > 
</ HTML >

 

Guess you like

Origin www.cnblogs.com/zhangyu666/p/11479675.html