semantic-branch-version/node_modules/universal-user-agent/dist-web/index.js

12 lines
207 B
JavaScript
Raw Normal View History

2020-07-04 21:41:06 +08:00
function getUserAgent() {
try {
return navigator.userAgent;
}
catch (e) {
return "<environment undetectable>";
}
}
export { getUserAgent };
//# sourceMappingURL=index.js.map