how to get property from other function
<p>I want to access var w value from other function. Is it possible.</p>

<pre><code>&lt;script type="text/javascript"&gt;
var first = {
myFirst: function(){
var w= 90;
var q=12;
}}


var second= {
mySecond: function(){
first.myFirst.w     
}}
&lt;/script&gt;
</code></pre>
