contains() Example 1 contains() Example 1 This example defines an array [2,5,9] and then returns if the number 2 in the array and if the number 7 is in the array.
This example defines an array [2,5,9] and then returns if the number 2 in the array and if the number 7 is in the array.