Knowing which Touch object is which in Javascript

I want to know which Touch object is which.

First attempt

I attempted to identify the Touch objects by storing the index in a variable
and getting the Touch object from the TouchList with the index. But the problem with this method is when there are 3 Touch objects in the TouchList like this:

[1, 2, 3]

Then when the user lifts 1 the Touch object will be removed like this:

[2, 3]

My program will start to confuse Touch object 2 as 1.

Second attempt

I also tried to identify the Touch objects by storing it in a variable
and checking if the Touch object matches the one in the variable.
But that did not work because it is not the same object from before.