mirror of
https://github.com/diligencia/semantic-branch-version.git
synced 2024-11-24 01:33:50 +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
|