title: String Conversion in Javascript (Decimal to Binary)
body: <p>A newbie here! Wondering why the following conversion fails!</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var num = prompt("Enter num");
  alert(num.toString(2));</code></pre>
  </div>
  </div>
  </p>
  <p>If num input is 32. I get 32 as num alert message too.</p>