Skip to content

Conversation

@bnoordhuis
Copy link
Contributor

First commit is #1274.

@@ -0,0 +1,194 @@
;(function(IteratorHelper, InternalError, TypeError, call,
hasOwnEnumProperty, getOwnProperties, Symbol·iterator) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I should come up with a better name for getOwnProperties because it:

  1. suggests it's like Object.getOwnProperties when it's not, and
  2. doesn't just look up properties but also symbols

Suggestions welcome.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about getOwnPropertyKeys, like the spec calls it? https://tc39.es/ecma262/#sec-getownpropertykeys

Copy link
Contributor

@saghul saghul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with a suggestion. Also, as an additional soft suggestion, drop the mid period from the property names, I thought it was some kind of bug!

@@ -0,0 +1,194 @@
;(function(IteratorHelper, InternalError, TypeError, call,
hasOwnEnumProperty, getOwnProperties, Symbol·iterator) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about getOwnPropertyKeys, like the spec calls it? https://tc39.es/ecma262/#sec-getownpropertykeys

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants