I have a page that makes a foreach and show some photos like this
<% imgs.forEach(function(img) { %> /s
Yes , Here is short hand version :
<%= role == 'A' ? 'Super Admin' : ? 'Admin' %>