Skip to content

Commit b46714c

Browse files
SwathiKalahastrievanlucas
authored andcommitted
doc: fix typos in N-API
PR-URL: #16911 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]>
1 parent 3ba52c1 commit b46714c

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)