I have a page that makes a foreach and show some photos like this
<% imgs.forEach(function(img) { %> /s
The shorthand version is correct, but it does have a syntax error
<%= role === 'admin' ? 'Super Admin' : 'Admin' %>
Or
<% if(role === 'admin'){ %> Super Admin <% } else{ %> Admin <% } %>
Super Admin
Admin