Quite Simply, I'd like to now why is it that sometimes you don't require the call operator () for a Function invocation?
This is what I normally do:
function startUp() {
  alert("started");
}
// and later...
startUp(); //to call it, this will actually trigger the alert
//If I do this
startUp; //It prints the function in the a Browser's console, but won't call the function
Now, If I attach the function to a Browser event:
 <script>
    function startUp() {
      alert("started");
    }
    window.onload = startUp; //I don't need the () to call the Function! WHY is that??
  </script>
As I mention in the comment, why is it that I sometimes don't need the () to call a function? (like in this case)
Thank you in advance for your explanations.
 
     
     
     
     
     
     
     
    