about | help | code help+videos | done | prefs |
Given an array of ints, return true if at least one element is a teen (between 13 and 19, inclusive). If no elements are in the array, see the first sentence. someTeen([13, 14, 15, 16, 17, 18, 19]) → true someTeen([113, 114, 115, 116, 117, 118, 119, 20]) → false someTeen([113, 114, 15, 112, 116, 117, 1118, 11119]) → true ...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 Post-solution available
Copyright Nick Parlante 2017 - privacy