Re: I need more readings and/or examples on how to use ScopeChain spidermonkey 60
msami <[email protected]> Sun, 7 Apr 2019 03:09:13 -0700 (PDT)
| Newsgroups | gmane.comp.mozilla.devel.jseng |
|---|---|
| Message-ID | <[email protected]> |
On Sunday, April 7, 2019 at 12:06:46 PM UTC+2, msami wrote:
> for more details I need to execute javascript on multi level scope one of the ideas is to use scope chain
this is the method I intend to use
bool
JS::Evaluate(JSContext *cx, JS::AutoObjectVector &scopeChain,
const ReadOnlyCompileOptions &options,
const char16_t *chars, size_t length, JS::MutableHandleValue rval);