about | help | code help+videos | done | prefs |
removeFirst0s
Returns an array with the leading zeros of the argument a removed. removeFirst0s([0, 0, 1, 3, 0, 5, 7]) → [1, 3, 0, 5, 7] removeFirst0s([0, 0, 0, 0, 1, 3, 99, 0]) → [1, 3, 99, 0] removeFirst0s([1, 3, 3, 6, 99, 99]) → [1, 3, 3, 6, 99, 99] ...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: 500 Post-solution available
Copyright Nick Parlante 2017 - privacy