title: Why can't I access a property of an integer with a single dot?
body: <p>If I try to write</p>
  
  <pre><code>3.toFixed(5)
  </code></pre>
  
  <p>there is a syntax error. Using double dots, putting in a space, putting the three in parentheses or using bracket notation allows it to work properly.</p>
  
  <pre><code>3..toFixed(5)
  3 .toFixed(5)
  (3).toFixed(5)
  3["toFixed"](5)
  </code></pre>
  
  <p>Why doesn't the single dot notation work and which one of these alternatives should I use instead?</p>