diff --git a/src/js_native_api_v8.cc b/src/js_native_api_v8.cc index eea8adea3769ee..2febae1f1347a0 100644 --- a/src/js_native_api_v8.cc +++ b/src/js_native_api_v8.cc @@ -981,6 +981,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;