Cloudant(或 CouchDB)设计文档支持的 ECMAScript 版本是什么?
What is the ECMAScript version supported in Cloudant (or CouchDB) design documents?
标题实际上包含了完整的问题。
在 CouchDB(尤其是 Cloudant)中,您使用 JavaScript 编写包含视图的设计文档。支持的 ECMAScript 版本是什么?
我找不到相关文档。
我相信 Mozilla Spider Monkey 用于执行设计文档。
CouchDB 2.0 的 build documentation 将 Mozilla Spider Monkey 1.8.5 声明为依赖项。
您可以找到 release notes for 1.8.5 包含以下内容:
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.
你可能 post 一个带有 [spidermonkey] 标签的单独问题,看看是否有一个 javascript api 方法你可以调用来检索蜘蛛猴版本通过 javascript.
标题实际上包含了完整的问题。
在 CouchDB(尤其是 Cloudant)中,您使用 JavaScript 编写包含视图的设计文档。支持的 ECMAScript 版本是什么?
我找不到相关文档。
我相信 Mozilla Spider Monkey 用于执行设计文档。
CouchDB 2.0 的 build documentation 将 Mozilla Spider Monkey 1.8.5 声明为依赖项。
您可以找到 release notes for 1.8.5 包含以下内容:
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.
你可能 post 一个带有 [spidermonkey] 标签的单独问题,看看是否有一个 javascript api 方法你可以调用来检索蜘蛛猴版本通过 javascript.