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.
indexOfCaps("sAmPlE") ➞ [1, 3, 5]
indexOfCaps("eQuINoX") ➞ [1, 3, 4, 6]
indexOfCaps("determine") ➞ []
indexOfCaps("STRIKE") ➞ [0, 1, 2, 3, 4, 5]
indexOfCaps("sUn") ➞ [1]