how to use javascript code in ejs code example
Example 1: how to include in ejs
<%- include('./partials/nav.ejs') %>
Example 2: ejs tutorial
<ul>
<% users.forEach(function(user){ %>
<%- include('user/show', {user: user}); %>
<% }); %>
</ul>