Create a function that takes a single string as argument and returns an ordered array containing the indices of all capital letters in the string.
IndexOfCapitals("eDaBiT") ➞ [1, 3, 5]
IndexOfCapitals("eQuINoX") ➞ [1, 3, 4, 6]
IndexOfCapitals("determine") ➞ []
IndexOfCapitals("STRIKE") ➞ [0, 1, 2, 3, 4, 5]
IndexOfCapitals("sUn") ➞ [1]