title: Difference between JavaScript methods structure
body: <p>What is the difference between this method structures/callings?<br>
  I often see different method structures and I can not understand what the benefits of each are.</p>
  
  <pre><code>var obj = {
      some_method: function(){
          return 'This works';
      }
  }
  
  var Obj2 = function(){
      return {
          some_method: function(){
              return 'This works too';
          }
      }
  }
  
  console.log(obj.some_method());
  
  var obj3 = new Obj2();
  console.log(obj3.some_method());
  </code></pre>
  
  <p>Both of them return what they should, here's <a href="http://jsfiddle.net/2kRBY/" rel="nofollow"><strong>JsFiddle</strong></a>, but in what case I should use each of them?</p>