title: Access variables in other file in node.js
body: <p>I want to define a variable in one file called vars.js. then I want to access those variable from another file called mybot.js. this is what I ahve in each file:</p>
  
  <p>vars.js:
  <code>var token = 'abcfgk6'</code></p>
  
  <p>mybot.js:</p>
  
  <pre><code>var request = require(./vars.js);
  ...
  bot.login(token);
  </code></pre>