title: Is it possible to display superscript characters in the alert() dialog?
body: <p>Is it possible to display superscripted characters (not only numbers) in the <code>alert()</code>,  <code>confirm()</code> or <code>prompt()</code> dialogue boxes in JavaScript?</p>
  
  <p>Due to some reasons I need to insert a text:</p>
  
  <p><em>2 followed by superscripted 'n'</em>
  <em>2^n</em></p>
  
  <p>Into JavaScript alert, confirm and prompt boxes. Fast google searching did help but not exactly I found a way to display superscripted numbers in dialogue boxes using Unicode <em>\u00B</em> character but it doesn't work with characters</p>
  
  <pre><code>alert('2\u00B2'); shows correctly 2^2
  alert('2\u00Bn'); shows 2u00Bn
  </code></pre>
  
  <p>So the goal is to show a character superscripted not the number.</p>
  
  <hr>
  
  <p>^ is used as Power and to show that next character is superscripted, just in case someone gets confused.</p>