Skip to content

Commit

Permalink
Editorial: avoid "The Type of" (tc39#3410)
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Sep 5, 2024
1 parent 6d6515a commit afecb99
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 @@ -3147,7 +3147,7 @@ <h2>[[GetOwnProperty]] ( _P_ )</h2>
The normal return type is either Property Descriptor or Undefined.
</li>
<li>
If the Type of the return value is Property Descriptor, the return value must be a fully populated Property Descriptor.
If the return value is a Property Descriptor, it must be a fully populated Property Descriptor.
</li>
<li>
If _P_ is described as a non-configurable, non-writable own data property, all future calls to [[GetOwnProperty]] ( _P_ ) must return Property Descriptor whose [[Value]] is SameValue as _P_'s [[Value]] attribute.
Expand Down Expand Up @@ -3236,7 +3236,7 @@ <h2>[[OwnPropertyKeys]] ( )</h2>
The returned List must not contain any duplicate entries.
</li>
<li>
The Type of each element of the returned List is either String or Symbol.
Each element of the returned List must be a property key.
</li>
<li>
The returned List must contain at least the keys of all non-configurable own properties that have previously been observed.
Expand Down Expand Up @@ -15921,7 +15921,7 @@ <h1>[[OwnPropertyKeys]] ( ): either a normal completion containing a List of pro
The returned List contains no duplicate entries.
</li>
<li>
The Type of each result List element is either String or Symbol.
Each element of the returned List is a property key.
</li>
<li>
The result List must contain the keys of all non-configurable own properties of the target object.
Expand Down

0 comments on commit afecb99

Please sign in to comment.