about | help | code help+videos | done | prefs |
evenIndicesOnly
Complete the function so that it returns the sum of the numbers at the even indices. evenIndicesOnly([5, 8, 4, 7]) → 9 evenIndicesOnly([17, 5]) → 17 evenIndicesOnly([22, 40, 8, 10, 12, 12, 13]) → 55 ...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: 200
Copyright Nick Parlante 2017 - privacy