On Sep 29, 5:34 am, sleepnova <[email protected]> wrote: > Is there any way to get the caller inside a function? > > I'v found the following document of > MDC.https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global... > > I'v tried following way, non of them work for Rhino. > arguments.callee.caller > func.caller > __caller__
Yes, this is intentional. There is no way to support this sort of functionality in compiled bytecode without severely impacting performance. --N _______________________________________________ dev-tech-js-engine-rhino mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
