Skip to content

Commit 2fccf84

Browse files
TrottMylesBorins
authored andcommitted
doc: use "JavaScript" instead of "Javascript"
PR-URL: #17163 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Alexey Orlenko <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]>
1 parent 9dcf748 commit 2fccf84

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,8 @@ us a report nonetheless.
197197

198198
- [#14519](https://github.com/nodejs/node/issues/14519): _Internal domain
199199
function can be used to cause segfaults_. Causing program termination using
200-
either the public Javascript APIs or the private bindings layer APIs requires
201-
the ability to execute arbitrary Javascript code, which is already the highest
200+
either the public JavaScript APIs or the private bindings layer APIs requires
201+
the ability to execute arbitrary JavaScript code, which is already the highest
202202
level of privilege possible.
203203

204204
- [#12141](https://github.com/nodejs/node/pull/12141): _buffer: zero fill

doc/api/n-api.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ typedef void (*napi_async_complete_callback)(napi_env env,
204204
```
205205

206206
## Error Handling
207-
N-API uses both return values and Javascript exceptions for error handling.
207+
N-API uses both return values and JavaScript exceptions for error handling.
208208
The following sections explain the approach for each case.
209209

210210
### Return values
@@ -2863,7 +2863,7 @@ Returns `napi_ok` if the API succeeded.
28632863

28642864
This API allows an add-on author to create a function object in native code.
28652865
This is the primary mechanism to allow calling *into* the add-on's native code
2866-
*from* Javascript.
2866+
*from* JavaScript.
28672867

28682868
*Note*: The newly created function is not automatically visible from
28692869
script after this call. Instead, a property must be explicitly set on any

0 commit comments

Comments
 (0)