Design a function in Python that takes an array of strings as input and returns all the strings in reversed order.
data = ["Hello", "World", "Foo", "Bar"]
def reverseStrings(data):
 return [string[::-1] for string in data]

 reversedStrings = reverseStrings(data)
 print(reversedStrings) # ["olleH", "dlroW", "ooF", "raB"]