Javascript does not specify the ordering of parameters on an object but V8 does so at least for node.js the parameters are always in the order they were added to the object.
so if you do
var a = {a:1, b:1, c:1}
var keys = Object.keys(a)
returns
[ 'a', 'b', 'c' ]