HeeysamH
-
Posts
2 -
Joined
-
Last visited
Posts posted by HeeysamH
-
-
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.
Getting price of offer.
in General
Posted
Is theire another way to get the prices of items easy without having to deal with all of this. im new to nodejs so i have no idea what to do