Edit It: Find the index of the last 'Tuesday' from the last array item
This code shows how to find the index of the last 'Tuesday' from the last array item.
See it on StackBlitzThis code shows how to find the index of the last 'Tuesday' from the last array item.
See it on StackBlitz