Skip to content

Commit 810a33f

Browse files
bakkotljharb
authored andcommitted
Editorial: consistency around how we refer to GlobalSymbolRegistry stuff (#3525)
1 parent df1c3cc commit 810a33f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

spec.html

+5-5
Original file line numberDiff line numberDiff line change
@@ -30915,12 +30915,12 @@ <h1>Symbol.for ( _key_ )</h1>
3091530915
1. Let _stringKey_ be ? ToString(_key_).
3091630916
1. For each element _e_ of the GlobalSymbolRegistry List, do
3091730917
1. If _e_.[[Key]] is _stringKey_, return _e_.[[Symbol]].
30918-
1. Assert: GlobalSymbolRegistry does not currently contain an entry for _stringKey_.
30918+
1. Assert: The GlobalSymbolRegistry List does not currently contain an entry for _stringKey_.
3091930919
1. Let _newSymbol_ be a new Symbol whose [[Description]] is _stringKey_.
30920-
1. Append the Record { [[Key]]: _stringKey_, [[Symbol]]: _newSymbol_ } to the GlobalSymbolRegistry List.
30920+
1. Append the GlobalSymbolRegistry Record { [[Key]]: _stringKey_, [[Symbol]]: _newSymbol_ } to the GlobalSymbolRegistry List.
3092130921
1. Return _newSymbol_.
3092230922
</emu-alg>
30923-
<p>The GlobalSymbolRegistry is an append-only List that is globally available. It is shared by all realms. Prior to the evaluation of any ECMAScript code, it is initialized as a new empty List. Elements of the GlobalSymbolRegistry are Records with the structure defined in <emu-xref href="#table-globalsymbolregistry-record-fields"></emu-xref>.</p>
30923+
<p>The <dfn>GlobalSymbolRegistry List</dfn> is an append-only List that is globally available. It is shared by all realms. Prior to the evaluation of any ECMAScript code, it is initialized as a new empty List. Elements of the GlobalSymbolRegistry List are Records with the structure defined in <emu-xref href="#table-globalsymbolregistry-record-fields"></emu-xref>.</p>
3092430924
<emu-table id="table-globalsymbolregistry-record-fields" caption="GlobalSymbolRegistry Record Fields" oldids="table-44">
3092530925
<table>
3092630926
<thead>
@@ -31163,12 +31163,12 @@ <h1>
3116331163
</h1>
3116431164
<dl class="header">
3116531165
<dt>description</dt>
31166-
<dd>If _sym_ is in the GlobalSymbolRegistry (see <emu-xref href="#sec-symbol.for"></emu-xref>) the String used to register _sym_ will be returned.</dd>
31166+
<dd>If _sym_ is in the GlobalSymbolRegistry List, the String used to register _sym_ will be returned.</dd>
3116731167
</dl>
3116831168
<emu-alg>
3116931169
1. For each element _e_ of the GlobalSymbolRegistry List, do
3117031170
1. If SameValue(_e_.[[Symbol]], _sym_) is *true*, return _e_.[[Key]].
31171-
1. Assert: GlobalSymbolRegistry does not currently contain an entry for _sym_.
31171+
1. Assert: The GlobalSymbolRegistry List does not currently contain an entry for _sym_.
3117231172
1. Return *undefined*.
3117331173
</emu-alg>
3117431174
</emu-clause>

0 commit comments

Comments
 (0)