Skip to content

Commit

Permalink
Editorial: Eliminate _rec_.[[Field]] is absent (tc39#2624)
Browse files Browse the repository at this point in the history
Change:
    `_rec_.[[Field]] is absent`
to:
    `_rec_ does not have a [[Field]] field`
as a follow-up to PR tc39#2620.
  • Loading branch information
jmdyck committed Jan 20, 2022
1 parent d9ab5c0 commit dbd6b48
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -4289,7 +4289,7 @@ <h1>
</dl>
<emu-alg>
1. If _Desc_ is *undefined*, return *false*.
1. If both _Desc_.[[Get]] and _Desc_.[[Set]] are absent, return *false*.
1. If _Desc_ does not have a [[Get]] field and _Desc_ does not have a [[Set]] field, return *false*.
1. Return *true*.
</emu-alg>
</emu-clause>
Expand All @@ -4304,7 +4304,7 @@ <h1>
</dl>
<emu-alg>
1. If _Desc_ is *undefined*, return *false*.
1. If both _Desc_.[[Value]] and _Desc_.[[Writable]] are absent, return *false*.
1. If _Desc_ does not have a [[Value]] field and _Desc_ does not have a [[Writable]] field, return *false*.
1. Return *true*.
</emu-alg>
</emu-clause>
Expand Down Expand Up @@ -14012,7 +14012,7 @@ <h1>
<dl class="header">
</dl>
<emu-alg>
1. If _Desc_.[[Value]] is absent, then
1. If _Desc_ does not have a [[Value]] field, then
1. Return OrdinaryDefineOwnProperty(_A_, *"length"*, _Desc_).
1. Let _newLenDesc_ be a copy of _Desc_.
1. [id="step-arraysetlength-newlen"] Let _newLen_ be ? ToUint32(_Desc_.[[Value]]).
Expand All @@ -14026,7 +14026,7 @@ <h1>
1. If _newLen_ &ge; _oldLen_, then
1. Return OrdinaryDefineOwnProperty(_A_, *"length"*, _newLenDesc_).
1. If _oldLenDesc_.[[Writable]] is *false*, return *false*.
1. If _newLenDesc_.[[Writable]] is absent or is *true*, let _newWritable_ be *true*.
1. If _newLenDesc_ does not have a [[Writable]] field or _newLenDesc_.[[Writable]] is *true*, let _newWritable_ be *true*.
1. Else,
1. NOTE: Setting the [[Writable]] attribute to *false* is deferred in case any elements cannot be deleted.
1. Let _newWritable_ be *false*.
Expand Down

0 comments on commit dbd6b48

Please sign in to comment.