Skip to content

Commit

Permalink
Editorial: fix a few variable names (#1279)
Browse files Browse the repository at this point in the history
  • Loading branch information
devsnek authored and ljharb committed Aug 9, 2018
1 parent 5d61c34 commit 89d6f91
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -3309,12 +3309,12 @@ <h1>ToPropertyDescriptor ( _Obj_ )</h1>
1. Let _desc_ be a new Property Descriptor that initially has no fields.
1. Let _hasEnumerable_ be ? HasProperty(_Obj_, `"enumerable"`).
1. If _hasEnumerable_ is *true*, then
1. Let _enum_ be ToBoolean(? Get(_Obj_, `"enumerable"`)).
1. Set _desc_.[[Enumerable]] to _enum_.
1. Let _enumerable_ be ToBoolean(? Get(_Obj_, `"enumerable"`)).
1. Set _desc_.[[Enumerable]] to _enumerable_.
1. Let _hasConfigurable_ be ? HasProperty(_Obj_, `"configurable"`).
1. If _hasConfigurable_ is *true*, then
1. Let _conf_ be ToBoolean(? Get(_Obj_, `"configurable"`)).
1. Set _desc_.[[Configurable]] to _conf_.
1. Let _configurable_ be ToBoolean(? Get(_Obj_, `"configurable"`)).
1. Set _desc_.[[Configurable]] to _configurable_.
1. Let _hasValue_ be ? HasProperty(_Obj_, `"value"`).
1. If _hasValue_ is *true*, then
1. Let _value_ be ? Get(_Obj_, `"value"`).
Expand Down Expand Up @@ -24161,14 +24161,14 @@ <h1>Object.getOwnPropertySymbols ( _O_ )</h1>
</emu-alg>

<emu-clause id="sec-getownpropertykeys" aoid="GetOwnPropertyKeys">
<h1>Runtime Semantics: GetOwnPropertyKeys ( _O_, _Type_ )</h1>
<p>The abstract operation GetOwnPropertyKeys is called with arguments _O_ and _Type_ where _O_ is an Object and _Type_ is one of the ECMAScript specification types String or Symbol. The following steps are taken:</p>
<h1>Runtime Semantics: GetOwnPropertyKeys ( _O_, _type_ )</h1>
<p>The abstract operation GetOwnPropertyKeys is called with arguments _O_ and _Type_ where _O_ is an Object and _type_ is one of the ECMAScript specification types String or Symbol. The following steps are taken:</p>
<emu-alg>
1. Let _obj_ be ? ToObject(_O_).
1. Let _keys_ be ? _obj_.[[OwnPropertyKeys]]().
1. Let _nameList_ be a new empty List.
1. For each element _nextKey_ of _keys_ in List order, do
1. If Type(_nextKey_) is _Type_, then
1. If Type(_nextKey_) is _type_, then
1. Append _nextKey_ as the last element of _nameList_.
1. Return CreateArrayFromList(_nameList_).
</emu-alg>
Expand Down

0 comments on commit 89d6f91

Please sign in to comment.