How can I reference objects with keys that have dots in JavaScript?
<pre><code>var ageRanges;
ageRanges = {
  '18.20': 0,
  '21.24': 0,
  '25.34': 0,
  '35.44': 0,
  '45.54': 0,
  '55.64': 0,
  '65+': 0
};
</code></pre>

<p>I want to access <code>ageRanges.'18.20'</code>, but that gives me an error: <code>TypeError: Cannot read property '0' of null</code> - so what's the proper way to access it?</p>
