Skip to content

Commit

Permalink
Editorial: Add some missing 'return value' invariants (tc39#1539)
Browse files Browse the repository at this point in the history
... in 6.1.7.3 Invariants of the Essential Internal Methods
  • Loading branch information
jmdyck authored and ljharb committed Aug 7, 2019
1 parent 1f2191b commit 3440ecb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -1649,6 +1649,9 @@ <h2>[[HasProperty]] ( _P_ )</h2>
</ul>
<h2>[[Get]] ( _P_, _Receiver_ )</h2>
<ul>
<li>
The return value must be an ECMAScript language value.
</li>
<li>
If _P_ was previously observed as a non-configurable, non-writable own data property of the target with value _V_, then [[Get]] must return the SameValue as _V_.
</li>
Expand Down Expand Up @@ -1695,6 +1698,12 @@ <h2>[[OwnPropertyKeys]] ( )</h2>
If the object is non-extensible, the returned List must contain only the keys of all own properties of the object that are observable using [[GetOwnProperty]].
</li>
</ul>
<h2>[[Call]] ( )</h2>
<ul>
<li>
The return value must be an ECMAScript language value.
</li>
</ul>
<h2>[[Construct]] ( )</h2>
<ul>
<li>
Expand Down

0 comments on commit 3440ecb

Please sign in to comment.