diff --git a/src/js_native_api_v8.cc b/src/js_native_api_v8.cc index 6484afaaac629e..5c809e977aea82 100644 --- a/src/js_native_api_v8.cc +++ b/src/js_native_api_v8.cc @@ -983,6 +983,7 @@ napi_status napi_has_own_property(napi_env env, bool* result) { NAPI_PREAMBLE(env); CHECK_ARG(env, key); + CHECK_ARG(env, result); v8::Local context = env->context(); v8::Local obj;