What is Infinity, -Infinity, and NaN Number Types in JavaScript? (EASY Explanation!)

There are 3 special types out there that are considered numbers but don’t actually behave as numbers. Infinity and -Infinity in JavaScript These are the positives and negatives of the concept of infinity. They can both be considered the same since a negative infinity translates into the concept of infinity as well. NaN in JavaScript … Read more