title: Is a JavaScript array index a string or an integer?
body: <p>I had a generic question about JavaScript arrays. Are array indices in JavaScript internally handled as strings?</p>
  <p>I read somewhere that because arrays are objects in JavaScript, the index is actually a string. I am a bit confused about this, and would be glad for any explanation.</p>