Synchronous variant of getUserAgent.
const result = getUserAgentSync(); Copy
const result = getUserAgentSync();
Synchronous variant of getUserAgent.