I have an Express.js app set up using EJS templates. I successfully looped through an array with classic JS syntax:
<% for (var i = 0; i < myArray.leng
You can use forEach method
forEach
myArray.forEach(function(el, index) { // el - current element, i - index });