map through array nodejs

I have a stripe function where I am trying to push the images into the array for each product. This is part of the prebuilt stripe checkout page… here’s my function at whole: //defining arrays var …