title: AS3 Finding the most common Value in an Array
body: <p>i would like to find a way to find the most common value in an Array, so in the bellow array called "data" it has 10 values of "1". how would i be able to extract this information finding it hard to find any information on this. any help would be appreciated!  </p>
  
  <pre><code>var data:Array = ["1","1","1","1","1","1","1","1","1","2","2","one","two","five","six","1","2","one","two","three","four","five","2","one","two","three","four","five","2","five","2","one","two","five","six","2","one","two","five","six","2","one","two","five","six"];
  
  results = "1";
  </code></pre>