var a={};
var i=0;
while(i<10){
a[i]=i*i;
i++;
}
//work!
if (a.["5"]==25)
alert("success");
//error!
if (a.5==25)
alert("success");
why error?