Skip to content

Commit

Permalink
Fix some typos in spec
Browse files Browse the repository at this point in the history
  • Loading branch information
syg committed Sep 17, 2024
1 parent e7664b7 commit 6a2b885
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions spec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -735,9 +735,9 @@ <h1>Syntax</h1>
<p>A shared struct definition is always strict mode code.</p>
</emu-note>

<emu-clause id="sec-struct-definitions-static-semantics-containsinstanceprivateidentifier">
<emu-clause id="sec-struct-definitions-static-semantics-containsinstanceprivateidentifier" type="sdo">
<h1>Static Semantics: ContainsInstancePrivateIdentifier ( ) : a Boolean</h1>
<dl class=""header">
<dl class="header">
</dl>
<emu-grammar>ClassElementList : ClassElement</emu-grammar>
<emu-alg>
Expand Down Expand Up @@ -772,9 +772,9 @@ <h1>Static Semantics: ContainsInstancePrivateIdentifier ( ) : a Boolean</h1>
</emu-alg>
</emu-clause>

<emu-clause id="sec-struct-definitions-static-semantics-containsinstancemethod">
<emu-clause id="sec-struct-definitions-static-semantics-containsinstancemethod" type="sdo">
<h1>Static Semantics: ContainsInstanceMethod ( ) : a Boolean</h1>
<dl class=""header">
<dl class="header">
</dl>
<emu-grammar>ClassElementList : ClassElement</emu-grammar>
<emu-alg>
Expand Down Expand Up @@ -1184,7 +1184,7 @@ <h1>Atomics.store ( <del>_typedArray_</del><ins>_typedArrayOrStruct_</ins>, <del
1. <ins>If _indexOrField_ is not a property key, throw a *TypeError* exception.</ins>
1. <ins>If CanBeSharedAcrossAgents(_value_) is *false*, throw a *TypeError* exception.</ins>
1. <ins>If _typedArrayOrStruct_ does not have an own property with key _indexOrField_, throw a *RangeError* exception.</ins>
1. <ins>perform WriteSharedStructField(_typedArrayOrStruct_, _indexOrField_, _value_, ~seq-cst~).</ins>
1. <ins>Perform WriteSharedStructField(_typedArrayOrStruct_, _indexOrField_, _value_, ~seq-cst~).</ins>
1. <ins>Return _value_.</ins>
1. Let _byteIndexInBuffer_ be ? ValidateAtomicAccessOnIntegerTypedArray(_typedArray_, _index_).
1. If _typedArray_.[[ContentType]] is ~bigint~, let _v_ be ? ToBigInt(_value_).
Expand Down

0 comments on commit 6a2b885

Please sign in to comment.