How can I tell what function I'm in?
<p>I'm using a log function to debug in the console.  I want to know what function I'm logging from in the browser console.  I don't want to use the debugger.</p>

<pre><code>function doSomething() {}

console.log(doSomething.name);
</code></pre>

<p>Basically I want the <code>name</code> property from <code>Function.name</code> with out knowing what <code>doSomething</code> is.  Is this possible?</p>

<p>Is there some component of JS that tracks what function I'm in and that I have access to.?</p>