doc: refine napi_get_property_names() doc

Document that only enumerable, string-keyed properties are returned.

Fixes: https://github.com/nodejs/abi-stable-node/issues/307
PR-URL: https://github.com/nodejs/node/pull/20427
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
This commit is contained in:
Gabriel Schulhof authored and Myles Borins committed 2018-05-04 12:48:38 -04:00
1 parent b61ae7fe09
commit d7557e111e
1 file changed
+3 -1
+3 -1
View File
@@ -2520,7 +2520,9 @@ and [`napi_get_element`][].
Returns `napi_ok` if the API succeeded.
This API returns the array of properties for the `Object` passed in.
This API returns the names of the enumerable properties of `object` as an array
of strings. The properties of `object` whose key is a symbol will not be
included.
#### napi_set_property
<!-- YAML