Analyzes the Call Stack to determine the calling function's name.
The name of the calling function, or undefined if unresolvable
function myFunc() { console.log(getCaller()); } // 'myFunc' Copy
function myFunc() { console.log(getCaller()); } // 'myFunc'
Analyzes the Call Stack to determine the calling function's name.