napi_open_handle_scope
functionv1js_native_api.hThis API opens a new scope.
NAPI_EXTERN napi_status napi_open_handle_scope(napi_env env,
napi_handle_scope* result);
[in] env: The environment that the API is invoked under.[out] result:napi_valuerepresenting the new scope.
Returns napi_ok if the API succeeded.
This API opens a new scope.