A function identified immediately before a template literal is used to interpret it, in what is called a tagged template literal. The tag function can return a string, but it can also return any other type of value.
The first argument to the tag function, strings, is an Array of each constant piece...