Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md4
-rw-r--r--doc/api/n-api.md4
2 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 35b8d3890ed..619ee9a2e00 100644
--- a/README.md
+++ b/README.md
@@ -193,8 +193,8 @@ us a report nonetheless.
- [#14519](https://github.com/nodejs/node/issues/14519): _Internal domain
function can be used to cause segfaults_. Causing program termination using
- either the public Javascript APIs or the private bindings layer APIs requires
- the ability to execute arbitrary Javascript code, which is already the highest
+ either the public JavaScript APIs or the private bindings layer APIs requires
+ the ability to execute arbitrary JavaScript code, which is already the highest
level of privilege possible.
- [#12141](https://github.com/nodejs/node/pull/12141): _buffer: zero fill
diff --git a/doc/api/n-api.md b/doc/api/n-api.md
index 1d2004cea26..e1e58da6928 100644
--- a/doc/api/n-api.md
+++ b/doc/api/n-api.md
@@ -204,7 +204,7 @@ typedef void (*napi_async_complete_callback)(napi_env env,
```
## Error Handling
-N-API uses both return values and Javascript exceptions for error handling.
+N-API uses both return values and JavaScript exceptions for error handling.
The following sections explain the approach for each case.
### Return values
@@ -2863,7 +2863,7 @@ Returns `napi_ok` if the API succeeded.
This API allows an add-on author to create a function object in native code.
This is the primary mechanism to allow calling *into* the add-on's native code
-*from* Javascript.
+*from* JavaScript.
*Note*: The newly created function is not automatically visible from
script after this call. Instead, a property must be explicitly set on any