mirror of
https://github.com/diligencia/semantic-branch-version.git
synced 2024-11-23 22:43:51 +08:00
12 lines
207 B
JavaScript
12 lines
207 B
JavaScript
function getUserAgent() {
|
|
try {
|
|
return navigator.userAgent;
|
|
}
|
|
catch (e) {
|
|
return "<environment undetectable>";
|
|
}
|
|
}
|
|
|
|
export { getUserAgent };
|
|
//# sourceMappingURL=index.js.map
|