Re: How can I call variable in script like this global.var

muhammad sami <[email protected]> Tue, 2 Apr 2019 01:51:14 -0700 (PDT)
Newsgroups gmane.comp.mozilla.devel.jseng
Message-ID <[email protected]>
Thanks for your valuable notes,

> It sounds like you want to run things with a non-global "dialog" on the 
> scope chain.  To do that, you need to use the version of JS::Evaluate 
> that takes an AutoObjectVector scope chain.  See 
> https://searchfox.org/mozilla-central/rev/09a322c117d64de4c652dd007daf515a13be1254/js/src/jsapi.h#3210-3216 
> (though the line numbers may not match up in SpiderMonkey 45; I would 
> check on that).
> 
> Hope that helps,
> Boris

I will check that thanks.