reference
reference copied to clipboard
EJS Loop
On the EJS Cheatsheet, the Loop section shows an IF statement, not a Loop.
Suggest changing it to something like this:
<ul>
<% for(i=0; i < users.length; i++) { %>
<li> <%= users[i].username %> </li>
<% } %>
</ul>