Eduard Nistru Eduard Nistru - 1 year ago 114
Node.js Question

Return array value with forEach()

I am looking to return the name value of an array stored in another Object.

exports.send = function(req,res){


Product 3
Product 2

But I don't know how to obtain those values for an HTML content which I want to send it to an email address. I tried with
instead of
but it doesn't work. Thanks a lot in advance! Newbie out.

Answer Source

try map instead of foreach{ return; })
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download