reference - event object attributes
Regarding the code below, how does the interpreter know that event has attribute .keyCode.  This code works, I just don't undertand completely why, and more so were is this documented.  How does it know what type of object event is.  What if I would have called it 'e' or 'e1'.


    function b0(event) 
      {if (event.keyCode==13) 
        {i4(); 
        return false;}} 
     
     
    function o5('f4b_',b0); 
     
    o5(a,b){document.getElementById(a).onkeypress=b;}


reference - event object attributes
===

Regarding the code below, how does the interpreter know that event has attribute .keyCode.  This code works, I just don't undertand completely why, and more so were is this documented.  How does it know what type of object event is.  What if I would have called it 'e' or 'e1'.


    function b0(event) 
      {if (event.keyCode==13) 
        {i4(); 
        return false;}} 
     
     
    function o5('f4b_',b0); 
     
    o5(a,b){document.getElementById(a).onkeypress=b;}

