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.