title: can we have more than one module.exports statements in one js file
body: <p>I am newbie to javascript.I am  developing mobile apps using Titanium studio.
  My question is regarding javascript which is as follows.</p>
  
  <p>I have one file js file named commonUi.js in this file I am defining common UI components which I can use in different windows.</p>
  
  <p>Now I am defining two object function inside commonUi.js which are as follows.</p>
  
  <pre><code>function component1(){
  
  }
  
  function component2(){
  
  }
  </code></pre>
  
  <p>Now My core question is can I write following two statements inside my commonUi.js file</p>
  
  <ol>
  <li>module.exports = component1;</li>
  <li>module.exports = component2;</li>
  </ol>
  
  <p>Any help greatly appreciated.</p>