385569 (12) [Avatar] Offline
Hi, I am trying to understand the upper function, I don't understand how the function treat the parameters, how to know wich is string and wich is cooked.

const names = people.map(p => upper`Hi ${p.last}, ${p.first}`);

function upper(strings, ...cooked) {

for example upper(last,first), I know that last is last name and firt is the first name, but why strings get only Hi , ?