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

[email protected] Tue, 2 Apr 2019 06:03:51 -0700 (PDT)
Newsgroups gmane.comp.mozilla.devel.jseng
Message-ID <[email protected]>
On Tuesday, April 2, 2019 at 4:47:02 AM UTC-4, muhammad sami wrote: 
> Where can I get these versions? and if you please recommend a version for me to use.
> 
> these two links is from spidermonkey site https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/Getting_SpiderMonkey_source_code
> 
> http://ftp.mozilla.org/pub/spidermonkey/releases/
> http://ftp.mozilla.org/pub/spidermonkey/prereleases/
> 
> I got the last released version which is 45

It is recommended that embedders follow the latest ESR release of firefox/spidermonkey which is current ESR60. The use cases of SpiderMonkey by embedders are typically different from Firefox. There is a github project that is collecting more up-to-date embedding information at https://github.com/spidermonkey-embedders/spidermonkey-embedding-examples that may help to look at.

In https://github.com/spidermonkey-embedders/spidermonkey-embedding-examples/blob/esr60/docs/Building%20SpiderMonkey.md there are some notes around getting sources and building. Currently the most reliable way to get an up-to-date ESR version is to download the full Firefox source tarball which contains all the SpiderMonkey code as well.

--Ted