I have an object game = {}; and I save an array with two id's under every number of the object - game[number] = [id1, id2]; e.g. game[0] = [234342, 134313].
How can I get the number of the object game[number] by only ONE id of the array [id1, id2]? Obviously every id is only used once in the whole object.
Thanks for your time.