X621: Get nth element in array

Complete the function getElementAt() so that it returns the element stored at the nth position in the array numbers. You may assume that the array has at least that many elements.

Examples:

getElementAt({4,5},0) -> 4
getElementAt({4,5},1) -> 5

Your Answer:

Feedback

Your feedback will appear here when you check your answer.