If I am understanding you correctly, I think what you want can be accomplished 
using the pattern

```js
function templater(values) {
  return `hello ${values.person} it is a ${values.quality} day today`;
}

templater({ person: 'Antony', quality: 'reasonably good' });
```

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to