1. isNaN(value)
[예시코드] const age = parseInt(prompt("How old are you?")); if (isNaN(age) || age < 0) { console.log("Please write a real positive number"); }