I'm trying to make a system which reads Dota 2 hero data, in this system I have to store a lot of data about each hero (strength gain, int gain, agility gain)(float) and also what their primary attribute is.
This is what I have so far:
const Heroes = { Abaddon: 'Strength', Alchemist: 'Strength', AncientApparition: 'Intelligence', AntiMage: 'Agility', ArcWarden:'Agility', Axe:'Strength', } tried this:
const Heroes = { Abaddon: ('Strength','3.4', '2.4', '1.8', true), Alchemist: ('Strength','2.8', '2.3', '1.6', true), } console.log(Heroes.Abaddon) The output was just the last value (true)