Skip to content

Commit

Permalink
Editorial: some minor rewordings
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdyck committed Apr 13, 2020
1 parent 4b8ec01 commit 2da2dcf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -34271,7 +34271,7 @@ <h1>Array.prototype.sort ( _comparefn_ )</h1>
1. If _elem_ is *undefined*, return *true*.
1. Return *false*.
</emu-alg>
<p>The <em>sort order</em> is the ordering, after completion of this function, of the Uint53-indexed property values of _obj_ whose integer indexes are less than _len_. The result of the `sort` function is then determined as follows:</p>
<p>The <em>sort order</em> is the ordering, after completion of this function, of the values of the Uint53-indexed properties of _obj_ whose integer indexes are less than _len_. The result of the `sort` function is then determined as follows:</p>
<p>If _comparefn_ is not *undefined* and is not a consistent comparison function for the elements of this array (see below), the sort order is implementation-defined. The sort order is also implementation-defined if _comparefn_ is *undefined* and SortCompare does not act as a consistent comparison function.</p>
<p>Let _proto_ be _obj_.[[GetPrototypeOf]](). If _proto_ is not *null* and there exists an integer _j_ such that all of the conditions below are satisfied then the sort order is implementation-defined:</p>
<ul>
Expand Down Expand Up @@ -38513,7 +38513,7 @@ <h1>Runtime Semantics: SerializeJSONArray ( _state_, _value_ )</h1>
1. Return _final_.
</emu-alg>
<emu-note>
<p>The representation of arrays includes only the elements between zero and <emu-eqn>`array.length` - 1</emu-eqn> inclusive. Properties whose keys are not <emu-xref href="#uint32-string">Uint32-strings</emu-xref> are excluded from the stringification. An array is stringified as an opening LEFT SQUARE BRACKET, elements separated by COMMA, and a closing RIGHT SQUARE BRACKET.</p>
<p>The representation of arrays includes only the elements between zero and <emu-eqn>`array.length` - 1</emu-eqn> inclusive. Any property whose key is not a Uint32-string is excluded from the stringification. An array is stringified as an opening LEFT SQUARE BRACKET, elements separated by COMMA, and a closing RIGHT SQUARE BRACKET.</p>
</emu-note>
</emu-clause>
</emu-clause>
Expand Down Expand Up @@ -43338,7 +43338,7 @@ <h1>The Strict Mode of ECMAScript</h1>
Arguments objects for strict functions define a non-configurable accessor property *"callee"* which throws a *TypeError* exception on access (<emu-xref href="#sec-createunmappedargumentsobject"></emu-xref>).
</li>
<li>
Arguments objects for strict functions do not dynamically share their Uint32-indexed property values with the corresponding formal parameter bindings of their functions. (<emu-xref href="#sec-arguments-exotic-objects"></emu-xref>).
Arguments objects for strict functions do not dynamically share the values of their Uint32-indexed properties with the corresponding formal parameter bindings of their functions. (<emu-xref href="#sec-arguments-exotic-objects"></emu-xref>).
</li>
<li>
For strict functions, if an arguments object is created the binding of the local identifier `arguments` to the arguments object is immutable and hence may not be the target of an assignment expression. (<emu-xref href="#sec-functiondeclarationinstantiation"></emu-xref>).
Expand Down

0 comments on commit 2da2dcf

Please sign in to comment.