Programming Tips - Why isn't a['length'] giving me what I expect?

Date: 2016apr23 Language: javaScript Keywords: gotcha Q. Why isn't a['length'] giving me what I expect? A. Because its the same as a.length which gives the number of elements in an array.