There is an object
var obj = { 3: 3, 2: 2, 1: 1 }; When I try to display it for viewing, it sorts by ascending key.
Object {1: 1, 2: 2, 3: 3} How to make a reverse object? What would he be like in the original form?
By default, creating an object randomly specifying keys as numbers
var obj2 = {5:5, 2:2, 3:3}; Interpreter as I understand it, sorts it ascending. So I thought that there could be some constant, or a property to override ...