Skip to content

Conversation

iunanua
Copy link
Contributor

@iunanua iunanua commented Mar 5, 2024

What does this PR do?

Replace obj.GetPropertyNames() call with napi_get_all_property_names() in order to get only object's own properties.

https://nodejs.org/api/n-api.html#n_api_napi_get_property_names

Motivation

Additional Notes

Describe how to test your changes

Checklist

  • The CHANGELOG.md has been updated
  • Unit tests have been updated and pass
  • If known, an appropriate milestone has been selected

@iunanua iunanua force-pushed the igor/improve-object-prop-iteration branch from 8e9296b to 84b6175 Compare March 5, 2024 12:55
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.

1 participant