一致性(ECMAScript语法标准翻译)
阅读原文时间:2023年07月14日阅读:1

Conformance

A conforming implementation of ECMAScript must provide and support all the types, values, objects, properties,functions, and program syntax and semantics described in this specification.

A conforming implementation of ECMAScript must interpret source text input in conformance with the Unicode Standard, Version 5.1.0 or later and ISO/IEC 10646. If the adopted ISO/IEC 10646-1 subset is not otherwise specified, it is presumed to be the Unicode set, collection 10646.

一致性(ECMAScript语法标准翻译)

符合ECMAScript的实现必须提供并支持本规范中描述的所有类型,值,对象,属性,函数以及程序语法和语义。

符合ECMAScript的实现必须解释符合Unicode标准5.1.0版或更高版本以及ISO / IEC 10646的源文本输入。如果未另行指定所采用的ISO / IEC 10646-1子集,则假定是 Unicode集,集合10646。

A conforming implementation of ECMAScript that provides an application programming interface that supports programs that need to adapt to the linguistic and cultural conventions used by different human languages and countries must implement the interface defined by the most recent edition of ECMA-402 that is compatible with this specification.

A conforming implementation of ECMAScript may provide additional types, values, objects, properties, and functions beyond those described in this specification. In particular, a conforming implementation of ECMAScript may provide properties not described in this specification, and values for those properties, for objects that are described in this specification.

ECMAScript的兼容实现提供了应用程序编程接口,该接口应支持需要适应不同人类语言和国家/地区所使用的语言和文化惯例的程序,因此必须实现与此版本兼容的最新ECMA-402版本所定义的接口规格。

符合ECMAScript的实现可能会提供本规范中所描述之外的其他类型,值,对象,属性和功能。 特别是,符合ECMAScript的实现可以为本规范中描述的对象提供本规范中未描述的属性以及这些属性的值。

A conforming implementation of ECMAScript may support program and regular expression syntax not described in this specification. In particular, a conforming implementation of ECMAScript may support program syntax that makes use of the “future reserved words” listed in subclause 11.6.2.2 of this specification.

A conforming implementation of ECMAScript must not implement any extension that is listed as a Forbidden Extension in subclause 16.1.

符合ECMAScript的实现可以支持本规范中未描述的程序和正则表达式语法。 特别是,符合ECMAScript的实现可以支持程序语法,该语法使用本规范11.6.2.2中列出的“未来保留字”。

符合ECMAScript的实现不得执行第16.1节中列为禁止扩展的任何扩展。

手机扫一扫

移动阅读更方便

阿里云服务器
腾讯云服务器
七牛云服务器

你可能感兴趣的文章