about | help | code help+videos | done | prefs |
Return true if the array contains a negative number, and false otherwise containsNegative([2, 1, 2, 3, 4]) → false containsNegative([-1, -3, -5]) → true containsNegative([11, 9, 0, 1]) → false ...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: 250
Copyright Nick Parlante 2017 - privacy