Underscore.js is, by default, accessible through the "
_" identifier of the global namespace and that's exactly where its name comes from.
As with the
$ identifier in jQuery, the underscore "
One of the utility functions that it provides is the
_.template() method, which provides us with a convenient way of interpolating specific values into existing template strings that follow a specific format. The
_.template() method recognizes three special placeholder notations inside templates, which are used to add dynamic characteristics: