JavaScript Accessing object Properties outside the module
<p>I am newbie to javascript.My question is fairly simple.Question is as follows.</p>

<ol>
<li>I am having two javascript files one.js and two.js</li>
<li><p>In two.js there is function object constructor named CommonOneUi.code for it is shown below.</p>

<pre><code>function CommonOneUi(){


    this.getSongsButton = getSongsButton;// object method written in two.js

}
</code></pre></li>
<li><p>I am exporting it by writing</p></li>
</ol>

<blockquote>
  <p>module.export=CommonOneUi.</p>
</blockquote>

<ol>
<li>I can instantiate the CommomOneUi in one.js file but I am not getting access to getSongsButton property.</li>
</ol>

<p>How do I access getSongsButton property?</p>

<p>Thanks.</p>
