This kind of a question could be rephrased as “explain the difference between a['one']=’dog’ and a[one]=’dog’” because the main difference between a normal array in JavaScript and associative arrays is that associative arrays use Strings instead of Integer numbers as index. But this is also kind of a trick question as JavaScript does not support [...]
Posts Tagged ‘Arrays JS’
Explain briefly the difference between normal array and associative arrays?
Posted: October 5, 2011 in FAQ, HTML, Java Script, Web DeveloperTags: Arrays JS
0
