javascript, Programming IT Nursery Can I get the name of the currently running function in JavaScript? Is it possible to do this: myfile.js: function foo() { alert(<my-function-name>); // pops-up "foo" // or even better: "myfile.js : foo" } I’ve got the Dojo and jQuery frameworks... May 27, 2022 0 Comments