title: Apply doesn't work with fromCharCode - javascript
body: <p>I wanted to pass an array of number to the method String.fromCharCode(), I read another <a href="https://stackoverflow.com/questions/9936490/can-i-pass-an-array-into-fromcharcode">thread</a> and tried to chain apply after fromCharCode, but it doesn't work for me. Here's the code:</p>
  
  <pre><code>function rot13(str) {
    var reStr = "";
    var asciiCodedArr = [70,82,69,69,32,67,79,68,69,32,67,65,77,80];
    reStr = String.fromCharCode().apply(null, asciiCodedArr);
    return reStr;
  }
  
  rot13("SERR PBQR PNZC");
  </code></pre>
  
  <p>And it yells back at me:</p>
  
  <pre><code>TypeError: String.fromCharCode(...).apply is not a function
  </code></pre>
  
  <p>Where did I mess up ?</p>