Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d7557e1

Browse filesBrowse files
Gabriel SchulhofMylesBorins
authored andcommitted
doc: refine napi_get_property_names() doc
Document that only enumerable, string-keyed properties are returned. Fixes: nodejs/abi-stable-node#307 PR-URL: #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>
1 parent b61ae7f commit d7557e1
Copy full SHA for d7557e1

File tree

Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed
Open diff view settings
Collapse file

‎doc/api/n-api.md‎

Copy file name to clipboardExpand all lines: doc/api/n-api.md
+3-1Lines changed: 3 additions & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -2520,7 +2520,9 @@ and [`napi_get_element`][].
25202520

25212521
Returns `napi_ok` if the API succeeded.
25222522

2523-
This API returns the array of properties for the `Object` passed in.
2523+
This API returns the names of the enumerable properties of `object` as an array
2524+
of strings. The properties of `object` whose key is a symbol will not be
2525+
included.
25242526

25252527
#### napi_set_property
25262528
<!-- YAML

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.