Question: Javascript function: counter Parameter: an array of numbers returns: the numbers of negative elements, zeros, and values greater than zero in the given array Note:
Javascript function: counter
Parameter: an array of numbers
returns: the numbers of negative elements, zeros, and values greater than zero in the given array
Note: must use a switch statement in the function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
