[Javascript] Unexpected Result

Terry Riegel riegel at clearimageonline.com
Tue Aug 3 15:40:30 CDT 2010


If I have something like this from the console...

# QQ=$.a.LASTLOSER[2]
5

# QQ=2
2

# QQ
2

# $.a.LASTLOSER[2]
5

I would have expected the last line to be 2. Anyone have advise on why this is and how I can avoid this misconception in the future?

Thanks,

Terry


More information about the Javascript mailing list