Thanks ! is it very necessary to return many values with map ?
Code:
var r=[ 77, 101, 141, 91, 91, 191, 191, 343, 44, 44, 65 ],lttFrq=[];// an array or an object
function count(a){lttFrq[a]?lttFrq[a]+=1:(lttFrq[a]=1);}
r.map(count);
alert(lttFrq);
Then (for IE only9 web users) filter give the «dominant» value, or all others frequencies...