阅读背景:

JavaScript数组索引是字符串还是整数?

来源:互联网 

I had a generic question about JavaScript arrays. Are array indices in JavaScript internally handled as strings? 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.I had a generic question about JavaScript array




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: