We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14749f9 commit 8db5a0bCopy full SHA for 8db5a0b
src/node_api.cc
@@ -1,4 +1,4 @@
1
-/******************************************************************************
+/******************************************************************************
2
* Experimental prototype for demonstrating VM agnostic and ABI stable API
3
* for native modules to use instead of using Nan and V8 APIs directly.
4
*
@@ -2162,7 +2162,7 @@ napi_status napi_instanceof(napi_env env,
2162
2163
if (env->has_instance_available) {
2164
napi_value value, js_result, has_instance = nullptr;
2165
- napi_status status;
+ napi_status status = napi_ok;
2166
napi_valuetype value_type;
2167
2168
// Get "Symbol" from the global object
0 commit comments