| about | help | code help+videos | done | prefs |
Given an array of values, return an equally sized array where each element has twice the value of the original array. doubleVals([0, 1, 2]) → [0, 2, 4] doubleVals([-5, -3, -1, 1, 3, 5]) → [-10, -6, -2, 2, 6, 10] doubleVals([1, 2, 3, 4, 5]) → [2, 4, 6, 8, 10] ...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