We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea96640 commit bbfa586Copy full SHA for bbfa586
src/js_native_api_v8.cc
@@ -16,7 +16,7 @@
16
#define CHECK_TO_NUMBER(env, context, result, src) \
17
CHECK_TO_TYPE((env), Number, (context), (result), (src), napi_number_expected)
18
19
-// n-api defines NAPI_AUTO_LENGHTH as the indicator that a string
+// n-api defines NAPI_AUTO_LENGTH as the indicator that a string
20
// is null terminated. For V8 the equivalent is -1. The assert
21
// validates that our cast of NAPI_AUTO_LENGTH results in -1 as
22
// needed by V8.
0 commit comments