about | help | code help+videos | done | prefs |
Given an array of integers, and a value, return true if that value appears within the array, and false otherwise. contains([3, 7, 2], 2) → true contains([3, 7, 2], 10) → false contains([8, 8, 5, 1, 4], 8) → 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
Copyright Nick Parlante 2017 - privacy