TypeError: /app/web/stage-www.squareyards.com/public_html/dist/src/views/homeLoan/listingPage.ejs:334
   332|                   <h3>Other Offers</h3>
   333|                   <ul>
>> 334|                    <% bankRateList[bank].slice(1).forEach((offer,index)=>{ %>
   335|                     <li>
   336|                       <p>
   337|                         <span><%= offer.productName %></span>

bankRateList[bank].slice(...).forEach is not a function
   at Object.keys.forEach (eval at compile (/app/web/stage-www.squareyards.com/public_html/dist/node_modules/ejs/lib/ejs.js:618:12), <anonymous>:338:36)
   at Array.forEach (<anonymous>)
   at eval (eval at compile (/app/web/stage-www.squareyards.com/public_html/dist/node_modules/ejs/lib/ejs.js:618:12), <anonymous>:15:107)
   at returnedFn (/app/web/stage-www.squareyards.com/public_html/dist/node_modules/ejs/lib/ejs.js:653:17)
   at tryHandleCache (/app/web/stage-www.squareyards.com/public_html/dist/node_modules/ejs/lib/ejs.js:251:36)
   at View.exports.renderFile [as engine] (/app/web/stage-www.squareyards.com/public_html/dist/node_modules/ejs/lib/ejs.js:482:10)
   at View.render (/app/web/stage-www.squareyards.com/public_html/dist/node_modules/express/lib/view.js:135:8)
   at tryRender (/app/web/stage-www.squareyards.com/public_html/dist/node_modules/express/lib/application.js:640:10)
   at Function.render (/app/web/stage-www.squareyards.com/public_html/dist/node_modules/express/lib/application.js:592:3)
   at ServerResponse.render (/app/web/stage-www.squareyards.com/public_html/dist/node_modules/express/lib/response.js:1008:7)