diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/js_native_api_v8.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/js_native_api_v8.cc b/src/js_native_api_v8.cc index 6484afaaac..5c809e977a 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<v8::Context> context = env->context(); v8::Local<v8::Object> obj; |