return alert from function
<p>please can you tell me why this wont work.</p>

<p>If I call s.A why wont the alert show.</p>

<pre><code>var s = {

    A: function () { alert("test A"); },
    B: function () { alert("test B"); }

};


s.A;
</code></pre>

<p>thanks</p>
