0

I have three functions a,b and c. function b and c both call function a. is it possible to add some code in function a which will get info on which function is the caller?

function a()
{
   alert ("Hello");
}

function b()
{
    a();
}

function c()
{
    b();
} 
kk luo
  • 549
  • 1
  • 9
  • 22

0 Answers0