In Javascript, object properties are not ordered: <a href="http:&#x2F;&#x2F;stackoverflow.com&#x2F;a&#x2F;5525820&#x2F;96855" rel="nofollow">http:&#x2F;&#x2F;stackoverflow.com&#x2F;a&#x2F;5525820&#x2F;96855</a>. The Map object would be closer: <a href="https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;JavaScript&#x2F;Reference&#x2F;Global_Objects&#x2F;Map" rel="nofollow">https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;JavaScript&#x2F;Refe...</a>