@azure/service-bus
Version:
Azure Service Bus SDK for JavaScript
16 lines • 466 B
JavaScript
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
/**
* Returns information about the platform this function is being run on.
* @hidden
* @internal
*/
export function getRuntimeInfo() {
const navigator = self.navigator;
const osInfo = {
key: "OS",
value: (navigator.oscpu || navigator.platform).replace(" ", ""),
};
return `${osInfo.key}/${osInfo.value}`;
}
//# sourceMappingURL=runtimeInfo.browser.js.map