Jump to content
McKay Development

HeeysamH

Member
  • Posts

    2
  • Joined

  • Last visited

Posts posted by HeeysamH

  1. Hey,

    I made this code:

    for(var i = 0; i < offer.itemsToReceive.length; i++){
    getPrices(offer.itemsToReceive).then(function(val){
    console.log(val);
    }).catch(function(err) {
    console.log(err);
    });
    }
     
    it prints the values of the items i receive in the trade.
    How do i make it so it just prints the total value, so all the item prices in one total.
×
×
  • Create New...