title: How to get a string representation of hex?
body: <p>I tried this:</p>
  
  <p><a href="http://jsfiddle.net/CG8gx/1/" rel="nofollow">http://jsfiddle.net/CG8gx/1/</a></p>
  
  <pre><code>for(var i = 0x00; i &lt;= 0x88; i++){
      i = i.toString();
      if (i.length === 1) { 
          i = "0" + i;
      }
      // console.log(i.length);
      console.log(i);
      // console.log(decodeURIComponent("%" + i));
  }
  </code></pre>
  
  <p>but <code>toString()</code> will give the decimal representation.  So the above code is broken.</p>