about | help | code help+videos | done | prefs |
Given an array of length three, return an array of length two that contains the first and last elements of the parameter array. getTwo([1, 2, 3]) → [1, 3] getTwo([5, 0, -1]) → [5, -1] getTwo([9, 7, 0]) → [9, 0] ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 100
Copyright Nick Parlante 2017 - privacy