Why I met this problem: I tried to solve an algorithm problem and I need to return the number which appeared most of the times in an array. Like [5,4,3,2,1,1] should return
target = {} target[' ' + key] = value // numeric key
This can prevent automatic sort of Object numeric property.