<% arr.forEach(item => { %>
<%= item.dirname%>
<% }) %>