Skip to content

Commit c685212

Browse files
TrottMylesBorins
authored andcommittedApr 16, 2018
doc: use "JavaScript" instead of "Javascript"
Backport-PR-URL: #19447 PR-URL: #17163 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
1 parent b20c278 commit c685212

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
@@ -194,8 +194,8 @@ us a report nonetheless.
194194

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

201201
- [#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
@@ -202,7 +202,7 @@ typedef void (*napi_async_complete_callback)(napi_env env,
202202
```
203203

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

208208
### Return values
@@ -2861,7 +2861,7 @@ Returns `napi_ok` if the API succeeded.
28612861

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

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

0 commit comments

Comments
 (0)