setup-node/node_modules/universal-user-agent/browser.js

7 lines
128 B
JavaScript

module.exports = getUserAgentBrowser
function getUserAgentBrowser () {
/* global navigator */
return navigator.userAgent
}