How to get an object name?
<p>I have the following code snippet</p>

<pre><code>function receiver(callback)
{
    console.log( callback );
}

function callback(){}

receiver( new callback() );

OUTPUT: callback {}
</code></pre>

<p>is there a method or way to get 'callback' out of callback parameter? I like to get an object's name.</p>
