Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b46714c

Browse filesBrowse files
SwathiKalahastrievanlucas
authored andcommitted
doc: fix typos in N-API
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 3ba52c1 commit b46714c
Copy full SHA for b46714c

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎doc/api/n-api.md‎

Copy file name to clipboardExpand all lines: doc/api/n-api.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.