Which one of followings is the Array's method that can return the first index of an element (e.g the method should return 0 for 'A' in ['A','B','A','D'])?