javascript

A 2-post collection

3 Cool Uses For Tagged Template Literals

ES6 Template literals have become one of my most used JavaScript features. Tagged template literals work about the same way but let you write your own "tagger" or handler function which does the interpolation. Why would you want to? I could think of 3 reasons. But first the gory details

Read more