0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 15:06:33 +01:00

doc: format ECMA-262 with a hyphen

PR-URL: https://github.com/nodejs/node/pull/28309
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
This commit is contained in:
cjihrig 2019-06-19 21:44:20 -04:00
parent ad2036fc1a
commit f00d5bc050
No known key found for this signature in database
GPG Key ID: 7434390BDBE9B9C5

View File

@ -22,7 +22,7 @@ the functions available in the N-API are used.
APIs exposed by N-API are generally used to create and manipulate
JavaScript values. Concepts and operations generally map to ideas specified
in the ECMA262 Language Specification. The APIs have the following
in the ECMA-262 Language Specification. The APIs have the following
properties:
- All N-API calls return a status code of type `napi_status`. This
status indicates whether the API call succeeded or failed.
@ -3451,7 +3451,7 @@ This method allows the efficient definition of multiple properties on a given
object. The properties are defined using property descriptors (see
[`napi_property_descriptor`][]). Given an array of such property descriptors,
this API will set the properties on the object one at a time, as defined by
`DefineOwnProperty()` (described in [Section 9.1.6][] of the ECMA262
`DefineOwnProperty()` (described in [Section 9.1.6][] of the ECMA-262
specification).
## Working with JavaScript Functions