In the code below an array of numbers is given to the search() function. Change it so that the function searches for the number in the array that is divisible by 11 and returns it.
Array searching
Searching for a special number
Report a typo
Sample Input 1:
1 12 55Sample Output 1:
55Write a program in JavaScript
function search(numbers) {
// Write your code here
}
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.