<tr :for="user of users"> <td>${ user.name }</td> <td>${ user.email }</td> <td>${ user.age }</td> </tr>
<% for (user of users) { %> <tr> <td><%= user.name %></td> <td><%= user.email %></td> <td><%= user.age %></td> </tr> <% } %>
The EJS website: https://ejs.co
I know it from Elixir [0] and strongly dislike it there, I was under the assumption in comes from Ruby [1] since so much of Elixir is Ruby-inspired, is this JS version the original one?
[0] https://hexdocs.pm/eex/EEx.html
[1] https://github.com/ruby/erb
The EJS website: https://ejs.co