napi_status napi_get_global(napi_env env, napi_value* result)
[in] env: The environment that the API is invoked under.[out] result:napi_valuerepresenting JavaScriptglobalobject.
Returns napi_ok if the API succeeded.
This API returns the global object.
