Is there any way in the Chrome Console tab to display the address that called a function?
I have a function that\'s being called but I don\'t know where from. I know
The answer to this question might be what you are looking for.
It uses the trick of throwing an exception, then accessing the LineNumber property and printing it.
LineNumber
I don't think you can do that with console.log(). Try with console.error() if you're fine with red output.
console.log()
console.error()