I\'m using Underscore\'s template() method in BackboneJS views. I\'d like to show a list of alphabet letters in my view in order to sort a collection by letter.
As a
for(let char of "abcdefghijklmnopqrstuvwxyz" ) console.log(char); // prints 'a' to 'z'
Pretty easy to use that in a template, and you could use Babel to transpile it to code for browsers which lack support for that syntax.