| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 8d84154 commit d069c72
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3763,7 +3763,7 @@ typedef enum { | |||
| 3763 | 3763 | napi_default_method = napi_writable | napi_configurable, | |
| 3764 | 3764 | ||
| 3765 | 3765 | // Default for object properties, like in JS obj[prop]. | |
| 3766 | - napi_default_property = napi_writable | | ||
| 3766 | + napi_default_jsproperty = napi_writable | | ||
| 3767 | 3767 | napi_enumerable | | |
| 3768 | 3768 | napi_configurable, | |
| 3769 | 3769 | } napi_property_attributes; | |
@@ -3786,8 +3786,8 @@ They can be one or more of the following bitflags: | |||
| 3786 | 3786 | [`napi_define_class`][]. It is ignored by `napi_define_properties`. | |
| 3787 | 3787 | * `napi_default_method`: Like a method in a JS class, the property is | |
| 3788 | 3788 | configurable and writeable, but not enumerable. | |
| 3789 | - * `napi_default_property`: Like a property set via assignment in JavaScript, the | ||
| 3790 | - property is writable, enumerable, and configurable. | ||
| 3789 | + * `napi_default_jsproperty`: Like a property set via assignment in JavaScript, | ||
| 3790 | + the property is writable, enumerable, and configurable. | ||
| 3791 | 3791 | ||
| 3792 | 3792 | #### napi_property_descriptor | |
| 3793 | 3793 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments