I've been grappling with this issue for about an hour now, here is the offending code:
const t = games[0];
for (const mvar in t) {
if (t.hasOwnProperty(mvar))
console.log(`${mvar}: ${t.mvar}`);
}
The output is:
appid: undefined
name: undefined
playtime_forever: undefined
img_icon_url: undefined
img_logo_url: undefined
has_community_visible_stats: undefined
However, the WebStorm debugger says this value is not undefined as such:
Are there any other reasons that this could be?