diff --git a/spec.html b/spec.html index ded8d5a23e..31b05e8afe 100644 --- a/spec.html +++ b/spec.html @@ -6509,7 +6509,7 @@

description
-
It is used to create a List value whose elements are provided by the indexed properties of _obj_. _elementTypes_ contains the names of ECMAScript Language Types that are allowed for element values of the List that is created.
+
It is used to create a List value whose elements are provided by the indexed properties of _obj_. _validElementTypes_ indicates the types of values that are allowed as elements.
1. If _validElementTypes_ is not present, set _validElementTypes_ to ~all~. @@ -16156,7 +16156,7 @@

Syntax

The components of a combining character sequence are treated as individual Unicode code points even though a user might think of the whole sequence as a single character.

In string literals, regular expression literals, template literals and identifiers, any Unicode code point may also be expressed using Unicode escape sequences that explicitly express a code point's numeric value. Within a comment, such an escape sequence is effectively ignored as part of the comment.

-

ECMAScript differs from the Java programming language in the behaviour of Unicode escape sequences. In a Java program, if the Unicode escape sequence `\\u000A`, for example, occurs within a single-line comment, it is interpreted as a line terminator (Unicode code point U+000A is LINE FEED (LF)) and therefore the next code point is not part of the comment. Similarly, if the Unicode escape sequence `\\u000A` occurs within a string literal in a Java program, it is likewise interpreted as a line terminator, which is not allowed within a string literal—one must write `\\n` instead of `\\u000A` to cause a LINE FEED (LF) to be part of the String value of a string literal. In an ECMAScript program, a Unicode escape sequence occurring within a comment is never interpreted and therefore cannot contribute to termination of the comment. Similarly, a Unicode escape sequence occurring within a string literal in an ECMAScript program always contributes to the literal and is never interpreted as a line terminator or as a code point that might terminate the string literal.

+

ECMAScript differs from the Java programming language in the behaviour of Unicode escape sequences. In a Java program, if the Unicode escape sequence `\\u000A`, for example, occurs within a single-line comment, it is interpreted as a line terminator (Unicode code point U+000A is LINE FEED (LF)) and therefore the next code point is not part of the comment. Similarly, if the Unicode escape sequence `\\u000A` occurs within a string literal in a Java program, it is likewise interpreted as a line terminator, which is not allowed within a string literal—one must write `\\n` instead of `\\u000A` to cause a LINE FEED (LF) to be part of the value of a string literal. In an ECMAScript program, a Unicode escape sequence occurring within a comment is never interpreted and therefore cannot contribute to termination of the comment. Similarly, a Unicode escape sequence occurring within a string literal in an ECMAScript program always contributes to the literal and is never interpreted as a line terminator or as a code point that might terminate the string literal.

@@ -42329,7 +42329,7 @@

1. Assert: _kind_ is ~key+value~. 1. Let _result_ be CreateArrayFromList(« _e_.[[Key]], _e_.[[Value]] »). 1. Perform ? GeneratorYield(CreateIteratorResultObject(_result_, *false*)). - 1. NOTE: The number of elements in _entries_ may have increased while execution of this abstract operation was paused by Yield. + 1. NOTE: The number of elements in _entries_ may have increased while execution of this abstract operation was paused by GeneratorYield. 1. Set _numEntries_ to the number of elements in _entries_. 1. Return *undefined*. 1. Return CreateIteratorFromClosure(_closure_, *"%MapIteratorPrototype%"*, %MapIteratorPrototype%). @@ -42372,7 +42372,7 @@

Abstract Operations For Set Objects

Set Records

-

An Set Record is a Record value used to encapsulate the interface of a Set or similar object.

+

A Set Record is a Record value used to encapsulate the interface of a Set or similar object.

Set Records have the fields listed in .

@@ -42959,7 +42959,7 @@

1. Else, 1. Assert: _kind_ is ~value~. 1. Perform ? GeneratorYield(CreateIteratorResultObject(_e_, *false*)). - 1. NOTE: The number of elements in _entries_ may have increased while execution of this abstract operation was paused by Yield. + 1. NOTE: The number of elements in _entries_ may have increased while execution of this abstract operation was paused by GeneratorYield. 1. Set _numEntries_ to the number of elements in _entries_. 1. Return *undefined*. 1. Return CreateIteratorFromClosure(_closure_, *"%SetIteratorPrototype%"*, %SetIteratorPrototype%). @@ -45552,7 +45552,7 @@

Atomics.wait ( _typedArray_, _index_, _value_, _timeout_ )

Atomics.waitAsync ( _typedArray_, _index_, _value_, _timeout_ )

-

This function returns a Promise that is resolved when the calling agent is notified or the the timeout is reached.

+

This function returns a Promise that is resolved when the calling agent is notified or the timeout is reached.

It performs the following steps when called:

1. Return ? DoWait(~async~, _typedArray_, _index_, _value_, _timeout_). @@ -48148,7 +48148,7 @@

Promise.try ( _callback_, ..._args_ )

-

When the `try` method is called with argument _callback_, the following steps are taken:

+

This function performs the following steps when called:

1. Let _C_ be the *this* value. 1. If _C_ is not an Object, throw a *TypeError* exception.