From 6063cebdd66bf4682eedd661947f75922a0674b7 Mon Sep 17 00:00:00 2001 From: cjihrig Date: Wed, 19 Jun 2019 21:44:20 -0400 Subject: [PATCH] doc: format ECMA-262 with a hyphen PR-URL: https://github.com/nodejs/node/pull/28309 Reviewed-By: Gus Caplan Reviewed-By: Anna Henningsen Reviewed-By: Richard Lau Reviewed-By: Yongsheng Zhang Reviewed-By: Tiancheng "Timothy" Gu Reviewed-By: Benjamin Gruenbaum Reviewed-By: Rich Trott Reviewed-By: Trivikram Kamat --- doc/api/n-api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/n-api.md b/doc/api/n-api.md index a9a6904467de35..c8a5ba73544c4a 100644 --- a/doc/api/n-api.md +++ b/doc/api/n-api.md @@ -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