Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The "not a number" error in Javascript occurs when a value is expected to be a numeric value, but the value is actually not a valid numeric value. This error can occur when trying to perform mathematical operations on a variable that is not a number or when parsing a string that cannot be converted to a number. The error message can also be shown as "NaN" in the console output.