0
Does anyone know the return?
function isNumber() { const number1 = "123" const number2 = "123a" console.log(isNaN(number1)); console.log(isNaN(number2)); return }
2 Answers
+ 4
false since 123 is a number
true since 123a is not a number
If you have other problems you can use the playground to paste the codes and see the answersđđŒ
+ 2
Here you found my implementation https://code.sololearn.com/Wb5r5bRikG3p/?ref=app