Cloudant(或CouchDB)设计文档中支持什么ECMAScript版本? [英] What is the ECMAScript version supported in Cloudant (or CouchDB) design documents?

查看:64
本文介绍了Cloudant(或CouchDB)设计文档中支持什么ECMAScript版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

标题实际上包含完整的问题。

The title contains the full question actually.

在CouchDB(尤其是Cloudant)中,您使用JavaScript编写带有视图的设计文档。那里受支持的ECMAScript版本是什么?

In CouchDB (and Cloudant in particular) you write design documents with views using JavaScript. What is the supported ECMAScript version there?

我找不到相关文档。

推荐答案

我相信Mozilla Spider Monkey是用于执行设计文档的。

I believe that Mozilla Spider Monkey is used for executing the design documents.

构建CouchDB 2.0的文档将Mozilla Spider Monkey 1.8.5声明为依赖项。

The build documentation for CouchDB 2.0 state Mozilla Spider Monkey 1.8.5 as a dependency.

您可以找到发行版1.8.5 的注释包含以下内容:

You can find the release notes for 1.8.5 contain the following:


SpiderMonkey 1.8.5是Firefox 4.0中附带的JavaScript引擎。它比SpiderMonkey 1.8快得多,实现了ES-5(ECMA 262,第5版),并且包含许多新的语言和API功能,如下所述。

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.

您可以使用 [spidermonkey] 标签发布一个单独的问题,以查看是否存在您可以调用javascript api方法来通过javascript检索蜘蛛猴版本。

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.

这篇关于Cloudant(或CouchDB)设计文档中支持什么ECMAScript版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆