title: Why does 2..toString() work?
body: <p>Why does <code>2..toString()</code> return <code>2</code> but <code>2.toString()</code> throws this error?</p>
  
  <p>Example:</p>
  
  <pre><code>console.log(2..toString()); // prints 2
  
  // Firefox throws the error
  // `SyntaxError: identifier starts immediately after numeric literal`
  console.log(2.toString());
  
  var x = 2;
  console.log(x.toString()); // prints 2
  
  // Firefox throws the error
  //`TypeError: XML descendants internal method called on incompatible Number`
  console.log(x..toString());
  </code></pre>