Javascript: Get name of function within function

Diesel

Contributor
Joined
Aug 18, 2003
Messages
662
I want to access the name of a javascript within that function

function myFunction()
{

return this.name;
}

myFunction should return myFunction...obviously this.name doesn't work...anyone know...
 
Back
Top