Skip to content

Commit 22490dc

Browse files
SwathiKalahastriMylesBorins
authored andcommittedApr 16, 2018
doc: fix typos in N-API
Backport-PR-URL: #19447 PR-URL: #16911 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
1 parent 2476ab9 commit 22490dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎doc/api/n-api.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1788,7 +1788,7 @@ This API returns the C int32 primitive equivalent
17881788
of the given JavaScript Number. If the number exceeds the range of the
17891789
32 bit integer, then the result is truncated to the equivalent of the
17901790
bottom 32 bits. This can result in a large positive number becoming
1791-
a negative number if the the value is > 2^31 -1.
1791+
a negative number if the value is > 2^31 -1.
17921792

17931793
#### *napi_get_value_int64*
17941794
<!-- YAML
@@ -3013,7 +3013,7 @@ constructor and methods can be called from JavaScript.
30133013

30143014
1. The [`napi_define_class`][] API defines a JavaScript class with constructor,
30153015
static properties and methods, and instance properties and methods that
3016-
correspond to the The C++ class.
3016+
correspond to the C++ class.
30173017
2. When JavaScript code invokes the constructor, the constructor callback
30183018
uses [`napi_wrap`][] to wrap a new C++ instance in a JavaScript object,
30193019
then returns the wrapper object.

0 commit comments

Comments
 (0)
Please sign in to comment.