Open iunanua opened 8 months ago
Replace obj.GetPropertyNames() call with napi_get_all_property_names() in order to get only object's own properties.
obj.GetPropertyNames()
napi_get_all_property_names()
https://nodejs.org/api/n-api.html#n_api_napi_get_property_names
What does this PR do?
Replace
obj.GetPropertyNames()
call withnapi_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