I have a task that depends upon function.caller to sanity check that a caller is authorized.
According to this url, caller is supported in all major browsers... and all of my unit tests pass:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/caller
However, nodejs rejects all attempts to access function.caller (reports it as null).
I'm open to suggestions to make this work on nodejs... I'd hate to have this framework only work on browsers.
Thanks!