<script> function tercero(arr){ return arr.sort().filter(function(el,i,ar){if(i==ar.indexOf(el))return 1;return 0})[2] || false; } </script>