<!-- Thank you for your contribution. When it comes to writing an issue, please use the template below. To use the template is mandatory for submit a new issue and we won't reply to the issue without the template. --> <!-- TEMPLATE --> ## Version <!-- Write the version of the component you are currently using. --> latest ## Development Environment <!-- Write the browser type, OS and so on. --> All ## Current Behavior <!-- Write a description of the current operation. You can add example code, 'CodePen', 'jsfiddle', or 'codesandbox' links. --> `browser()` occurs an error in Node.js ```js // ReferenceError: window is not defined if (window && window.navigator) { detectBrowser(); } ``` ## Expected Behavior <!-- Write a description of future action. --> If `browser()` runs in Node.js, do not execute `detectBrowser()`.