How to bring in the dough mean?

There is a script, it prints the value of the responses which get more. But I can't quite figure out how to make it output the answer is 50/50.
function showResult() {
 let key = Object.keys(result).reduce(function (a, b) { 
 return result[a] > result[b] ? a : b 
});


 let div = document.createElement('div');
div.classList.add('result');
 div.innerHTML = answers[key]['description'];
document.querySelector('main').appendChild(div);



 let reloadButton = document.createElement('button');
 reloadButton.innerHTML = 'replay';
reloadButton.classList.add('reload-button');
document.querySelector('main').appendChild(reloadButton);
 }
March 23rd 20 at 19:34
1 answer
March 23rd 20 at 19:36
return result[a] > result[b] ? a/b
no, then the test stops is displayed - Felipa commented on March 23rd 20 at 19:39

Find more questions by tags JavaScript