Given an object x
, are the results of _.keys(x)
and _.values(x)
guaranteed to be sequentially aligned?
This is, for a given index i
, _.keys(x)[i]
and _.values(x)[i]
should refer to the same key-value entry in x
.
x
is assumed to remain unchanged between calls to one and the other function.
Is there any reason why I could get ordering issues?