79832794

Date: 2025-11-28 17:49:19
Score: 0.5
Natty:
Report link
    <ul><%= users.forEach(function(user){ %>
        <li><%= user.name %></li>
        <%= }); %>
    </ul>

Using the above, the %= appears to be actually attempting to set a whole value instead of run a function. Using instead:

    <ul><% users.forEach(function(user){ %>
        <li><%= user.name %></li>
        <% }); %>
    </ul>

appears to have resolved the issue.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: ciphermagi