title: Ways of declaring functions in jQuery
body: <p>I don't understand the difference between the ways of declaring functions on jQuery, and some times I lost some time trying to call a function and it does not work properly because it does not exist in a context. I don't even know if this is different ways of declaring functions on jQuery or if there is other way. Could someone here explain me? I'm totally noob.</p>
  
  <pre><code>    $(function () {
          // Your code
      })
  
      jQuery(function($) {
          // Your code
      });
  
      function () {
          // Your code
      }
  </code></pre>