[javascript] find the array index of an object with a specific key value in underscore

I got similar case but in contrary is to find the used key based on index of a given object's. I could find solution in underscore using Object.values to returns object in to an array to get the occurred index.

_x000D_
_x000D_
var tv = {id1:1,id2:2};_x000D_
var voteIndex = 1;_x000D_
console.log(_.findKey(tv, function(item) {_x000D_
  return _.indexOf(Object.values(tv), item) == voteIndex;_x000D_
}));
_x000D_
<script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.9.1/underscore-min.js"></script>
_x000D_
_x000D_
_x000D_