🎮
javascript isNan? 너 숫자 맞니?
May 07, 2024
javascript 숫자가 맞는지 확인하고 싶을떄
isNaN 을 사용하기
isNaN(NaN); // true
isNaN("Hello"); // true (because converting "Hello" to a number results in NaN)
isNaN("123"); // false (because "123" can be converted to the number 123)
isNaN(123); // false (because 123 is a valid number)
gpt에게 정확히 DO YOU KNOW JAVASCRIPT ISNAN?
이렇게 물어봤다.
ㅎㅎ
내가 알고 있는게 정확할까해서,
정확했다.
다행이다.