console.js
/**
     * Gets a touch from an array of touches, filtering by touch id
     * @param  {string} idToFind               The id to find
     * @param  {array}  touches                Array of touches (returned from a touch event)
     * @return {number}                        Index of the touch in the array, or -1 if not found
     */
Gets a touch from an array of touches, filtering by touch id
@param  {string} idToFind               The id to find
@param  {array}  touches                Array of touches (returned from a touch event)
@return {number}                        Index of the touch in the array, or -1 if not found
Gets a touch from an array of touches filtering by touch id @param { string } idToFind The id to find @param { array } touches Array of touches ( returned from a touch event ) @return { number } Index of the touch in the array or - 1 if not found
function ongoingTouchIndexById(idToFind, touches) { 
        for (let touchIndex = 0; touchIndex< touches.length; touchIndex++) {
            const id = touches[touchIndex].identifier; 
            if (id == idToFind) { 
                return touchIndex; 
            }
        } 
        return -1; 
    }
function ongoingTouchIndexById ( idToFind , touches ) { for ( let touchIndex = 0 ; touchIndex < touches . length ; touchIndex ++ ) { const id = touches [ touchIndex ] . identifier ; if ( id == idToFind ) { return touchIndex ; } } return - 1 ; }
Gets a touch from an array of touches, filtering by touch id
 @param  {string} idToFind               The id to find
 @param  {array}  touches                Array of touches (returned from a touch event)
 @return {number}                        Index of the touch in the array, or -1 if not found
Gets a touch from an array of touches filtering by touch id @param { string } idToFind The id to find @param { array } touches Array of touches ( returned from a touch event ) @return { number } Index of the touch in the array or - 1 if not found
// not found 
