Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for [old] The Most Frequent by Moff
function mostFrequent(data) {
let c = {};
for (let s of data)
c[s] = c[s] + 1 || 1;
let raw = Object.entries(c);
raw.sort((a, b) => b[1] - a[1]);
return raw[0][0];
}
Feb. 1, 2018