0

Does anyone know the return?

function isNumber() { const number1 = "123" const number2 = "123a" console.log(isNaN(number1)); console.log(isNaN(number2)); return }

11th Oct 2020, 9:13 PM
Yusuf Rabbani
Yusuf Rabbani - avatar
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đŸ‘đŸŒ
11th Oct 2020, 9:22 PM
Ruba Kh
Ruba Kh - avatar
+ 2
Here you found my implementation https://code.sololearn.com/Wb5r5bRikG3p/?ref=app
11th Oct 2020, 9:23 PM
HBhZ_C
HBhZ_C - avatar