object property as variable in string - javascript : The function has 2 parameters   
The output should be "hello world". I am trying to use template literal and object literal concept but somehow cannot figure out the solution. 

`function('hello ${val}','{'val':'world'}')`