title: Native Javascript printf-like function
body: <p>Browsers such as Chrome and Firefox offer a <code>console</code> API that enable the emission of formatted log messages, like this:</p>
  
  <pre><code>&gt;&gt;&gt; console.log("%s has %d points", "Sam", "100");
  Sam has 100 points
  </code></pre>
  
  <p>Now, suppose I want to generate a formatted string but not necessarily log it into the console. Do the browsers expose the native function that produces the log strings? Is it ECMA-stardard? Or should we be content with third party libraries such as <a href="http://www.diveintojavascript.com/projects/javascript-sprintf" rel="noreferrer">JavaScript sprintf</a> for now?</p>