I have the following code snippet
function receiver(callback)
{
console.log( callback );
}
function callback(){}
receiver( new callback() );
OUTPUT: callback {}
is there a method or way to get 'callback' out of callback parameter? I like to get an object's name.