I have a results variable that is an array of objects. I carry the results variable from my javascript file to my main route file. I am trying to render my page to display l
This will show list of id of your results, just change _id by your property of objects as you want to show.
<% results.map((result)=>{ %> <%= result._id %> <% }) %>