title: Get a function's name, which includes the object that holds it
body: <p>If I have this code</p>
  
  <pre><code>var obj = {
      method: function() {
          //do something
      },
  }
  </code></pre>
  
  <p>How do I get the function's name? If I access obj.func.name it only gives me "func", when I want "obj.func". How do I get "obj.func"?</p>
  
  <p>Doing it without jQuery is preferred.</p>