O'Reilly logo
  • Ahmed Elgendy thinks this is interesting:

Remember that the browser takes two passes through your JavaScript code: in the first pass, all your function declarations are parsed and the functions defined;


Cover of Head First JavaScript Programming


What is the difference between function declaration and function definition?