I\'m trying to find a way to move an object element to a specific position.
For example, I\'ve this object :
{ \"element1\" : {} // object, \"el
Objects in JavaScript are essentially hash maps. Their properties don't have any ordering, per se. They are simply name value pairs.
You are probably confusing objects with arrays, in which case ordering does indeed matter.