Javascript pass in parameter issue
<p>I have a script that looks like this:</p>

<pre><code>var test = {
    something: function(m){ alert('m'); }
}
</code></pre>

<p>And I'd like to pass in a parameter (in this case the message to alert. I've tried the following but clearly I'm missing something:</p>

<pre><code>test.something('This is my message...');
</code></pre>

<p>Ideas?</p>
