Challenge for Arrays


You will be given an array of numbers ar. Create and return another array of length 2 that just contains the first and last number in the original array.

Please sign in or sign up to submit answers.

Alternatively, you can try out Learneroo before signing up.

Contact Us
Sign in or email us at [email protected]