Skip to content

Commit

Permalink
Editorial: Fix descriptor kind check in ValidateAndApplyPropertyDescr…
Browse files Browse the repository at this point in the history
…iptor (tc39#2765)

Closes tc39#2761.
  • Loading branch information
linusg authored and ljharb committed Jun 16, 2022
1 parent affe7d8 commit f0e4ae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -12721,7 +12721,7 @@ <h1>
1. If _Desc_ has a [[Configurable]] field and _Desc_.[[Configurable]] is *true*, return *false*.
1. If _Desc_ has an [[Enumerable]] field and SameValue(_Desc_.[[Enumerable]], _current_.[[Enumerable]]) is *false*, return *false*.
1. If IsGenericDescriptor(_Desc_) is *false* and SameValue(IsAccessorDescriptor(_Desc_), IsAccessorDescriptor(_current_)) is *false*, return *false*.
1. If IsAccessorDescriptor(_Desc_) is *true*, then
1. If IsAccessorDescriptor(_current_) is *true*, then
1. If _Desc_ has a [[Get]] field and SameValue(_Desc_.[[Get]], _current_.[[Get]]) is *false*, return *false*.
1. If _Desc_ has a [[Set]] field and SameValue(_Desc_.[[Set]], _current_.[[Set]]) is *false*, return *false*.
1. Else if _current_.[[Writable]] is *false*, then
Expand Down

0 comments on commit f0e4ae8

Please sign in to comment.