about | help | code help+videos | done | prefs |
Find the first position of the value 4 in an array. Return -1 if 4 does not exist. posOf4([4, 1, 2, 3]) → 0 posOf4([1, 4, 2, 3]) → 1 posOf4([6, 5, 6, 7, 8]) → -1 ...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: 202 Post-solution available
Copyright Nick Parlante 2017 - privacy