I identified a bug in my code which I hope to solve with minimal refactoring effort. This bug occurs in Chrome and Opera browsers. Problem:
var obj = {23:\"A
No. JavaScript Object properties have no inherent order. It is total luck what order a for...in loop operates.
for...in
If you want order you'll have to use an array instead:
var map= [[23, 'AA'], [12, 'BB']]; for (var i= 0; i