JavaScript: Get current function name

getCallingFunctionName() is the important function here.

Source: Can I get the name of the currently running function in JavaScript?

Read More