Skip to content

Commit

Permalink
Clarify why we're not using EnumerableOwnProperties
Browse files Browse the repository at this point in the history
Closes #2020.
  • Loading branch information
domenic authored and annevk committed Nov 16, 2016
1 parent 0d08aea commit fbe5cfe
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -2900,6 +2900,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
<li>The <dfn data-x-href="https://tc39.github.io/ecma262/#sec-createdataproperty">CreateDataProperty</dfn> abstract operation</li>
<li>The <dfn data-x-href="https://tc39.github.io/ecma262/#sec-detacharraybuffer">DetachArrayBuffer</dfn> abstract operation</li>
<li>The <dfn data-x="js-EnqueueJob" data-x-href="https://tc39.github.io/ecma262/#sec-enqueuejob">EnqueueJob</dfn> abstract operation</li>
<li>The <dfn data-x-href="https://tc39.github.io/ecma262/#sec-enumerableownproperties">EnumerableOwnProperties</dfn> abstract operation</li>
<li>The <dfn data-x="js-FunctionCreate" data-x-href="https://tc39.github.io/ecma262/#sec-functioncreate">FunctionCreate</dfn> abstract operation</li>
<li>The <dfn data-x="js-Get" data-x-href="https://tc39.github.io/ecma262/#sec-get-o-p">Get</dfn> abstract operation</li>
<li>The <dfn data-x-href="https://tc39.github.io/ecma262/#sec-getfunctionrealm">GetFunctionRealm</dfn> abstract operation</li>
Expand Down Expand Up @@ -8150,6 +8151,12 @@ https://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E.
</ol>
</li>
</ol>

<p class="note">The key collection performed above is very similar to the JavaScript
specification's <span>EnumerableOwnProperties</span> operation, but crucially it uses the
deterministic ordering provided by the [[OwnPropertyKeys]] internal method, instead of
reordering the keys in an unspecified manner as <span>EnumerableOwnProperties</span> does.
<ref spec=JAVASCRIPT></p>
</li>
</ol>
</li>
Expand Down Expand Up @@ -119384,6 +119391,7 @@ INSERT INTERFACES HERE
Ignacio Javier,
Igor Oliveira,
Ingvar Stepanyan,
isonmad,
Iurii Kucherov,
Ivan Enderlin,
Ivo Emanuel Gon&ccedil;alves,
Expand Down

0 comments on commit fbe5cfe

Please sign in to comment.