I need help explanation of this script
var test = {
property_1 : 'aaa',
property_2 : 'bbb'
}
var place = function(str, ph){
return test[ph];
}
What is the meaning of definition place and what will be return type of that function?
I can’t understand from where is parameter str and ph come?
Here is the screenshot tutorial i read that do this at line 19

Thank you.
Functions are first class in JavaScript. They can be assigned as values for variables.
You can then invoke that variable
place, which will invoke the function it points to (its value).In could be anything. Most likely it will be a
stringorundefined.They would be passed like so…
In your example, the first argument seems to be superflous as it’s not used in the function’s body.