title: When trying to generate random Unicode, Syntax Error "Illegal" token
body: <p>When trying to make a random Unicode (not from all of the unicodes, just the numbered ones) I get this error:</p>
  
  <pre class="lang-none prettyprint-override"><code>Uncaught SyntaxError: Unexpected token ILLEGAL 
  </code></pre>
  
  <p>When using this code:</p>
  
  <pre class="lang-js prettyprint-override"><code>function getRandomInt(min, max) {
    return Math.floor(Math.random() * (max - min + 1)) + min;
  };
  
  // Error line:
  var randUnicode = ('\u' + getRandomInt(1000, 9999).toString());
  </code></pre>
  
  <p>This is probably because javascript see the <code>\u</code> as a trigger of Unicode, but expects something after it.</p>
  
  <p>How would I make random Unicode characters between 1000 and 9999?</p>