Is there any way on the Chrome console tab to display the address that called the function?
I have a function that is called, but I don't know where it came from. I know that I can break down and look at the call stack, but I would rather just display on each entry that called it:
functon select_el() {
console.log("select_el called by " + ?????);
etc.
}
thanks
source
share