reference icon indicating copy to clipboard operation
reference copied to clipboard

EJS Loop

Open greencodecomments opened this issue 2 years ago • 0 comments

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> 

greencodecomments avatar Aug 25 '23 21:08 greencodecomments