Example:
var someArray = ["My Name is", "My is Name", "Name my is", "is Name my"]
I want to print the last element of each string, so:
output: is, Name, is, my
I have no idea where I should start. My first thought was to split the array and print the last index, but I didn't succeed