{str: 15, dex: 3, inst: 3, power: 14}
const obj = {str: 15, dex: 3, inst: 3, power: 14};
const arrNumbers = Object.keys(obj).map(key => obj[key]);
const maxValue = Math.max(...arrNumbers);
const key = Object.keys(obj).find(key => obj[key] === maxValue)