Report Error: Cannot read property 'market_name' of undefined in node-steam-tradeoffer-manager Posted October 17, 2017 This can be solved by using i.market_name instead of theirItems[i].market_name. Because you are using a foreach-like syntax, each i will become the ACTUAL object in the array, rather than an iterating index.
Error: Cannot read property 'market_name' of undefined
in node-steam-tradeoffer-manager
Posted
This can be solved by using i.market_name instead of theirItems[i].market_name. Because you are using a foreach-like syntax, each i will become the ACTUAL object in the array, rather than an iterating index.