Skip to content

Commit 332d1ba

Browse files
rkirslingljharb
authored andcommitted
Editorial: Unify spelling of 'behaviour' (#1856)
1 parent 0a53d56 commit 332d1ba

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spec.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18068,7 +18068,7 @@ <h1>EnumerateObjectProperties ( _O_ )</h1>
1806818068
</ul>
1806918069

1807018070
<emu-note>
18071-
<p>Hosts are not required to implement the algorithm in <emu-xref href="#sec-%foriniteratorprototype%.next"></emu-xref> directly. They may choose any implementation whose behavior will not deviate from that algorithm unless one of the constraints in the previous paragraph is violated.</p>
18071+
<p>Hosts are not required to implement the algorithm in <emu-xref href="#sec-%foriniteratorprototype%.next"></emu-xref> directly. They may choose any implementation whose behaviour will not deviate from that algorithm unless one of the constraints in the previous paragraph is violated.</p>
1807218072
<p>The following is an informative definition of an ECMAScript generator function that conforms to these rules:</p>
1807318073
<pre><code class="javascript">
1807418074
function* EnumerateObjectProperties(obj) {
@@ -18090,13 +18090,13 @@ <h1>EnumerateObjectProperties ( _O_ )</h1>
1809018090
</code></pre>
1809118091
</emu-note>
1809218092
<emu-note>
18093-
The list of exotic objects for which implementations are not required to match CreateForInIterator was chosen because implementations historically differed in behavior for those cases, and agreed in all others.
18093+
The list of exotic objects for which implementations are not required to match CreateForInIterator was chosen because implementations historically differed in behaviour for those cases, and agreed in all others.
1809418094
</emu-note>
1809518095
</emu-clause>
1809618096

1809718097
<emu-clause id="sec-for-in-iterator-objects">
1809818098
<h1>For-In Iterator Objects</h1>
18099-
<p>A For-In Iterator is an object that represents a specific iteration over some specific object. For-In Iterator objects are never directly accessible to ECMAScript code; they exist soley to illustrate the behavior of EnumerateObjectProperties.</p>
18099+
<p>A For-In Iterator is an object that represents a specific iteration over some specific object. For-In Iterator objects are never directly accessible to ECMAScript code; they exist solely to illustrate the behaviour of EnumerateObjectProperties.</p>
1810018100

1810118101
<emu-clause id="sec-createforiniterator" aoid="CreateForInIterator">
1810218102
<h1>CreateForInIterator ( _object_ )</h1>
@@ -28695,7 +28695,7 @@ <h1>Date Time String Format</h1>
2869528695

2869628696
<emu-clause id="sec-expanded-years" oldids="sec-extended-years">
2869728697
<h1>Expanded Years</h1>
28698-
<p>Covering the full time value range of approximately 273,790 years forward or backward from 01 January, 1970 (<emu-xref href="#sec-time-values-and-time-range"></emu-xref>) requires representing years before 0 or after 9999. ISO 8601 permits expansion of the year representation, but only by mutual agreement of the partners in information interchange. In the simplified ECMAScript format, such an expanded year representation shall have 6 digits and is always prefixed with a + or - sign. The year 0 is considered positive and hence prefixed with a + sign. Strings matching the <emu-xref href="#sec-date-time-string-format">Date Time String Format</emu-xref> with expanded years representing instants in time outside the range of a time value are treated as unrecognizable by <emu-xref href="#sec-date.parse">`Date.parse`</emu-xref> and cause that function to return *NaN* without falling back to implementation-specific behavior or heuristics.</p>
28698+
<p>Covering the full time value range of approximately 273,790 years forward or backward from 01 January, 1970 (<emu-xref href="#sec-time-values-and-time-range"></emu-xref>) requires representing years before 0 or after 9999. ISO 8601 permits expansion of the year representation, but only by mutual agreement of the partners in information interchange. In the simplified ECMAScript format, such an expanded year representation shall have 6 digits and is always prefixed with a + or - sign. The year 0 is considered positive and hence prefixed with a + sign. Strings matching the <emu-xref href="#sec-date-time-string-format">Date Time String Format</emu-xref> with expanded years representing instants in time outside the range of a time value are treated as unrecognizable by <emu-xref href="#sec-date.parse">`Date.parse`</emu-xref> and cause that function to return *NaN* without falling back to implementation-specific behaviour or heuristics.</p>
2869928699
<emu-note>
2870028700
<p>Examples of date-time values with expanded years:</p>
2870128701
<figure>

0 commit comments

Comments
 (0)