Get function name from function itself
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1013239/can-i-get-the-name-of-the-currently-running-function-in-javascript">Can I get the name of the currently running function in javascript?</a>  </p>
</blockquote>



<p>I want to get the function name from function itself.</p>

<p>Javascript:</p>

<pre><code>Cube : {
    profile : {
        edit : function(){
            // Get function Path Cube.edit Here
            alert(arguments.callee.name); // Not Working
        }
    }
}
</code></pre>
