Hi there,

I need to write an application that runs some mixed JavaScript code. What I 
mean by "mixed", is that some of the code is mine, and some is external.
My code will be calling some external code, but I would like to conceal the 
call stack. In other words, in a scenario like this:

// my code
function myFunc()
{
   extFunc();
}


// external code
function extFunc()
{
   if (arguments.callee.caller == null)
   {
        console.log("okay");
   }
}


I would like the last "if" to evaluate true. Can it be done via a wrapper 
in V8, or in plain JavaScript?

Regards,
D.

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to