Question: countNumbers Write a function called countNumbers, which accepts an array of strings. The function should return a count of the number of strings in the
countNumbers
Write a function called countNumbers, which accepts an array of strings. The function should return a count of the number of strings in the array that can be successfully converted into a number. For example, the string can be successfully converted to the number but the string "hello" cannot be converted into a number.
Please note: you must use return to return your final value throughout this practice problem set. If you use console.log you will not return a value, and without a return value test cases will have nothing to check and will all fail.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
