diff --git a/translated/issues-6.html b/translated/issues-6.html index b8581ac8f5f..e7f90cb098d 100644 --- a/translated/issues-6.html +++ b/translated/issues-6.html @@ -1,276 +1,276 @@ -

Terms and Definitions

-

For the purposes of this document, the following terms and definitions apply.

+

术语与定义

+

本文档将使用下列术语和定义。

-

type

-

set of data values as defined in clause of this specification

+

类型(type)

+

在在本规范中定义的数据值集合。

-

primitive value

-

member of one of the types Undefined, Null, Boolean, Number, Symbol, or String as defined in clause

+

原始值(primitive value)

+

指在中定义的Undefined, Null, Boolean, Number, Symbol, String类型的成员

-

A primitive value is a datum that is represented directly at the lowest level of the language implementation.

+

一个原始值直接代表语言实现的最低层次的数据

object

-

member of the type Object

+

Object类型的成员

-

An object is a collection of properties and has a single prototype object. The prototype may be the null value.

+

对象是属性的集合,并且具有单个原型对象。原型可能是空值

-

constructor

-

function object that creates and initializes objects

+

构造函数(constructor)

+

创建和初始化对象的函数对象

-

The value of a constructor's `prototype` property is a prototype object that is used to implement inheritance and shared properties.

+

构造器的`prototype`属性值是用来实现继承和共享的一个原型对象。

-

prototype

-

object that provides shared properties for other objects

+

原型(prototype)

+

为其他对象提供共享属性的对象

-

When a constructor creates an object, that object implicitly references the constructor's `prototype` property for the purpose of resolving property references. The constructor's `prototype` property can be referenced by the program expression constructor.prototype, and properties added to an object's prototype are shared, through inheritance, by all objects sharing the prototype. Alternatively, a new object may be created with an explicitly specified prototype by using the `Object.create` built-in function.

+

当构造器创建一个对象,为了解决对象的属性引用,该对象会隐式引用构造器的`prototype`属性。通过程序表达式_constructor_.prototype可以引用到构造器的“prototype”属性,并且添加到对象原型里的属性,会通过继承与所有共享此原型的对象共享。另外,可使用`Object.create`内置函数,通过明确指定原型来创建一个新对象。

-

ordinary object

-

object that has the default behaviour for the essential internal methods that must be supported by all objects

+

普通对象(ordinary object)

+

默认行为拥有如那些所有对象都必须支持的内部方法作的对象

-

exotic object

-

object that does not have the default behaviour for one or more of the essential internal methods

+

异常对象(exotic object)

+

默认行为缺少一个或多个必要内部方法的对象

-

Any object that is not an ordinary object is an exotic object.

+

任何对象不是普通对象就是异常对象。

-

standard object

-

object whose semantics are defined by this specification

+

标准对象(standard object)

+

其语义由本规范定义的对象

-

built-in object

-

object specified and supplied by an ECMAScript implementation

+

内置对象(built-in object)

+

ECMAScript实现指定和提供的对象

-

Standard built-in objects are defined in this specification. An ECMAScript implementation may specify and supply additional kinds of built-in objects. A built-in constructor is a built-in object that is also a constructor.

+

标准的内置对象由本规范定义,ECMAScript实现可以指定和定义其他的一个内置构造器是个内置对象,也是个构造器。

-

undefined value

-

primitive value used when a variable has not been assigned a value

+

未定义值(undefined value)

+

一个在变量没有被赋值时就被使用的原始值

-

Undefined type

-

type whose sole value is the *undefined* value

+

Undefined类型(Undefined type)

+

值只有`undefined`的类型

-

null value

-

primitive value that represents the intentional absence of any object value

+

空值(null value)

+

表示故意缺省任何对象值的原始值

-

Null type

-

type whose sole value is the *null* value

+

Null类型(Null type)

+

值只有`null`的类型

-

Boolean value

-

member of the Boolean type

+

Boolean值(Boolean value)

+

Boolean类型的成员

-

There are only two Boolean values, *true* and *false*.

+

只有两个值, `true`和`false`.

-

Boolean type

-

type consisting of the primitive values *true* and *false*

+

Boolean类型(Boolean type)

+

由原始值`true`和`false`组成的类型

-

Boolean object

-

member of the Object type that is an instance of the standard built-in `Boolean` constructor

+

Boolean对象(Boolean object)

+

标准内置构造函数`Boolean`的实例,Object类型成员之一

-

A Boolean object is created by using the `Boolean` constructor in a `new` expression, supplying a Boolean value as an argument. The resulting object has an internal slot whose value is the Boolean value. A Boolean object can be coerced to a Boolean value.

+

通过使用`new`表达式,以一个Boolean值作为参数调用`Boolean`构造器来创建Boolean对象。由此产生的对象包含一个值为此Boolean值的内部属性。一个Boolean对象可以强制转换为Boolean值。

-

String value

-

primitive value that is a finite ordered sequence of zero or more 16-bit unsigned integer values

+

String值(String value)

+

由零个或多个16位无符号整数组成的有限有序序列原始值

-

A String value is a member of the String type. Each integer value in the sequence usually represents a single 16-bit unit of UTF-16 text. However, ECMAScript does not place any restrictions or requirements on the values except that they must be 16-bit unsigned integers.

+

一个String值是String类型的成员。通常序列中的每个整数值代表UTF-16文本的单个16位单元。然而,对于其值,ECMAScript只要求必须是16位无符号整数,除此之外没有任何限制或要求。

-

String type

-

set of all possible String values

+

String类型(String type)

+

所有可能的String值的集合

-

String object

-

member of the Object type that is an instance of the standard built-in `String` constructor

+

String对象(String object)

+

标准内置构造器`String`实例,Object类型成员之一

-

A String object is created by using the `String` constructor in a `new` expression, supplying a String value as an argument. The resulting object has an internal slot whose value is the String value. A String object can be coerced to a String value by calling the `String` constructor as a function ().

+

通过使用`new`表达式,以一个String值为参数调用`String`构造器来创建String对象。由此产生的对象包含一个值为此String值的内部属性。将`String`构造器作为一个函数来调用,可将一个String对象强制转换为一个String值()。

-

Number value

-

primitive value corresponding to a double-precision 64-bit binary format IEEE 754-2008 value

+

Number值(Number value)

+

IEEE 754-2008格式的64位双精度二进制的原始值

-

A Number value is a member of the Number type and is a direct representation of a number.

+

一个数字值是数字类型的成员,直接代表一个数字。

-

Number type

-

set of all possible Number values including the special “Not-a-Number” (NaN) value, positive infinity, and negative infinity

+

Number类型(Number type)

+

所有可能的Number值的集合,包括特殊“Not-a-Number” (NaN) 值, 正无穷, 负无穷

-

Number object

-

member of the Object type that is an instance of the standard built-in `Number` constructor

+

Number对象(Number object)

+

标准内置构造器`Number`的一个实例,Object类型成员之一

-

A Number object is created by using the `Number` constructor in a `new` expression, supplying a number value as an argument. The resulting object has an internal slot whose value is the number value. A Number object can be coerced to a number value by calling the `Number` constructor as a function ().

+

通过使用`new`表达式,以一个数字值为参数调用`Number`构造器来创建Number对象。由此产生的对象包含一个值为此Number值的内部属性。将`Number`构造器作为一个函数来调用,可将一个Number对象强制转换为一个数字值()。

-

Infinity

-

number value that is the positive infinite number value

+

无穷(Infinity)

+

正无穷数值

-

NaN

-

number value that is an IEEE 754-2008 “Not-a-Number” value

+

NaN(NaN)

+

值IEEE 754-2008 “Not-a-Number”的数值

-

Symbol value

-

primitive value that represents a unique, non-String Object property key

+

Symbol值(Symbol value)

+

表示一个唯一的,非字符串的属性键对象的原始值

-

Symbol type

-

set of all possible Symbol values

+

Symbol类型(Symbol type)

+

所有可能的Symbol值集合

-

Symbol object

-

member of the Object type that is an instance of the standard built-in `Symbol` constructor

+

Symbol对象(Symbol object)

+

标准内置构造器`Symbol`的一个实例,Object类型成员之一

-

function

-

member of the Object type that may be invoked as a subroutine

+

函数(function)

+

可作为子程序调用的Object类型成员之一

-

In addition to its properties, a function contains executable code and state that determine how it behaves when invoked. A function's code may or may not be written in ECMAScript.

+

函数除了其属性,还包含可执行代码、状态,用来确定被调用时的行为。函数的代码不限于 ECMAScript。

-

built-in function

-

built-in object that is a function

+

内置函数(built-in function)

+

作为函数的内置对象

-

Examples of built-in functions include `parseInt` and `Math.exp`. An implementation may provide implementation-dependent built-in functions that are not described in this specification.

+

如 parseInt 和 Math.exp 就是内置函数。一个实现可以提供本规范没有描述的依赖于实现的内置函数。

-

property

-

part of an object that associates a key (either a String value or a Symbol value) and a value

+

属性(property)

+

将一个键(String值或Symbor值)和值相关联的对象的一部分

-

Depending upon the form of the property the value may be represented either directly as a data value (a primitive value, an object, or a function object) or indirectly by a pair of accessor functions.

+

属性可能根据属性值的不同表现为直接的数据值(原始值,对象,或一个函数对象)或间接的一对访问器函数。

-

method

-

function that is the value of a property

+

方法(method)

+

作为属性值的函数

-

When a function is called as a method of an object, the object is passed to the function as its *this* value.

+

当一个函数被作为一个对象的方法调用,此对象将作为`this`值传递给函数。

-

built-in method

-

method that is a built-in function

+

内置方法(built-in method)

+

作为内置函数的方法

-

Standard built-in methods are defined in this specification, and an ECMAScript implementation may specify and provide other additional built-in methods.

+

标准内置方法由本规范定义,ECMAScript 实现可指定,提供其他额外的内置方法。

-

attribute

-

internal value that defines some characteristic of a property

+

特性(attribute)

+

定义一个属性的一些特性的内部值

-

own property

-

property that is directly contained by its object

+

自身属性(own property)

+

对象直接拥有的属性

-

inherited property

-

property of an object that is not an own property but is a property (either own or inherited) of the object's prototype

+

继承属性(inherited property)

+

不是对象的自身属性,但是是对象原型的属性(原型的自身属性或继承属性)

- + -

Organization of This Specification

-

The remainder of this specification is organized as follows:

-

Clause 5 defines the notational conventions used throughout the specification.

-

Clauses 6-9 define the execution environment within which ECMAScript programs operate.

-

Clauses 10-16 define the actual ECMAScript programming language including its syntactic encoding and the execution semantics of all language features.

-

Clauses 17-26 define the ECMAScript standard library. They include the definitions of all of the standard objects that are available for use by ECMAScript programs as they execute.

+

本规范的结构

+

本规范的剩余部分章节组织如下:

+

第5章定义了在本规范中使用的一些符号或者语法的约定。

+

第6-9章定义了ECMAScript程序操作包含的执行环境。

+

第10-16章定义了实际的ECMAScript语言,包括它的语法编码以及语言特性的执行语义。

+

第17-26章定义了ECMAScript标准库。它们包括所有当ECMAScript程序执行时可用的标准对象的定义。

\ No newline at end of file