Question: In JavaScript please. I am confused I am entering : function doesArrayContainZero(numbers){ If (numbers ===0){ return true; }else if (numbers !==0){ return false; } }
Modify the function to return true if the array contains a 0, and returns false otherwise. function doesArrayContainZero(numbers) 3 5 console.log(doesArrayContainZero(1, 2, 3]), undefined
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
