title: Are javascript callbacks just anonymous functions sent as an argument in a function call?
body: <p>Are <code>Javascript</code> <code>callbacks</code> just anonymous functions sent as an argument in a function call?</p>
  
  <p>For example, </p>
  
  <pre><code>mySandwich('ham', 'cheese', function() {  
     alert('Finished eating my sandwich.');  
    }); 
  </code></pre>