isNan is the function that is able to determine whether or not a value is an illegal number or not. The way I helped myself to memorize this is, is the number an actual number or not?
is (the) Number actually (a) Number?
I come up with some interesting ways to memorize stuff for classes but I think that sometimes if it makes sense, then it works! isNan function is used to check coding numbers and when the returns true if the value is a NaN return false.
We use the isNaN function to be able to code and figure out if the output is true or false within a variety of numbers and to determine if the number is valid or not. This function can help determine if a number in a coding sequence is valid or invalid (true or false). Personally, I think that this is a great function to have in a coding system, it feels like an assist to determine if what you are entering is correct or if maybe there is something incorrect in a code that needs to be fixed.
Hi Jessica,
The picture you provided of what an “isNaN” is helped a lot, along with your definition of it. “The way I helped myself to memorize this is, is the number an actual number or not?” I like how that’s how you memorized what “isNaN.” I might start using that myself. I agree that this function helps like an assistant because it tells us if we are right or wrong. Great post!