GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: clarify napi_property_attributes text · nodejs/node@2bc335d

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • n-api.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/n-api.md‎

Copy file name to clipboardExpand all lines: doc/api/n-api.md
+4-4Lines changed: 4 additions & 4 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -3789,10 +3789,10 @@ They can be one or more of the following bitflags:
37893789
* `napi_static`: The property will be defined as a static property on a class as
37903790
opposed to an instance property, which is the default. This is used only by
37913791
[`napi_define_class`][]. It is ignored by `napi_define_properties`.
3792-
* `napi_default_method`: The property is configureable, writeable but not
3793-
enumerable like a method in a JS class.
3794-
* `napi_default_property`: The property is writable, enumerable and configurable
3795-
like a property set via JS code `obj.key = value`.
3792+
* `napi_default_method`: Like a method in a JS class, the property is
3793+
configurable and writeable, but not enumerable.
3794+
* `napi_default_property`: Like a property set via assignment in JavaScript, the
3795+
property is writable, enumerable, and configurable.
37963796

37973797
#### napi_property_descriptor
37983798

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.