The title contains the full question actually.
In CouchDB (and Cloudant in particular) you write design documents with views using JavaScript. What is the supported ECMAScript version there?
I could not find a relevant documentation.
The title contains the full question actually.
In CouchDB (and Cloudant in particular) you write design documents with views using JavaScript. What is the supported ECMAScript version there?
I could not find a relevant documentation.
I believe that Mozilla Spider Monkey is used for executing the design documents.
The build documentation for CouchDB 2.0 state Mozilla Spider Monkey 1.8.5 as a dependency.
You can find the release notes for 1.8.5 contain the following:
SpiderMonkey 1.8.5 is the JavaScript engine that shipped in Firefox 4.0. It is much faster than SpiderMonkey 1.8, implements ES-5 (ECMA 262, 5th Edition), and contains many new language and API features, described in detail below.
You could maybe post a separate question with the [spidermonkey] tag to see if there is a javascript api method you can call to retrieve the spider monkey version via javascript.