title: String.Format in Javascript?
body: <p>In C# whenever I wanted to print two digit numbers I've used</p>
  
  <pre><code>int digit=1;
  Console.Write(digit.ToString("00"));
  </code></pre>
  
  <p>How can I do the same action in Javascript ?<br />
  Thanks</p>