Retrieve property of [object Map] with arrow function - JS
Elo, my issue is the following... I have a map in js, which was created through a fetch(). This map however includes an arrow function, of which I can't grasp how to access one of its properties/values Map(1) { '<id>' => User { id: '<id>', bot: false, system: false, flags: UserFlagsBitField { bitfield: 0 }, username: 'someUserName', globalName: 'someGlobalUsername', discriminator: '0', avatar: '<numbers>', banner: null, accentColor: null, avatarDecoration: null, avatarDecorationData: null, collectibles: null, primaryGuild: null } } Additionally, when this map is returned through fetch, both <i
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.