I am trying to find out the name of the function that called my Google Apps Script function, by using arguments.callee.caller
as in How do you find out the caller function in JavaScript?, but it seems there's no such property exported. (However, arguments.callee
exists.)
How can I get that calling function's name in Google Apps Script?
As a secondary question, why isn't arguments.callee.caller
there?