title: Javascript arguments.sort() throw error sort is not a function
body: <p>Just wondering why i got an error with the following simple JavaScript function</p>
  
  <pre><code>function highest(){ 
    return arguments.sort(function(a,b){ 
      return b - a; 
    }); 
  }
  highest(1, 1, 2, 3);
  </code></pre>
  
  <p>Error messsage : TypeError: arguments.sort is not a function.</p>
  
  <p>I am confused as arguments it is an array (i thought). Please help and explain why. Many thanks</p>