Define Variable with Function
<p>I need help explanation of this script</p>

<pre><code>var test = {
    property_1 : 'aaa',
    property_2 : 'bbb'
}

var place = function(str, ph){
    return test[ph];
}
</code></pre>

<p>What is the meaning of definition <code>place</code> and what will be return type of that function?<br>
I can't understand from where is parameter <code>str</code> and <code>ph</code> come?</p>

<p>Here is the screenshot tutorial i read that do this at <strong>line 19</strong></p>

<p><img src="http://i.stack.imgur.com/NtrX3.png" alt="enter image description here"></p>

<p>Thank you.</p>
