A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/javascript/NaN below:

NaN ยท WebPlatform Docs

NaN Summary

A special constant that specifies a value that is Not-A-Number

Syntax
NaN
Examples

NaN mainly occurs when parsing goes wrong

parseInt(123); 
parseInt("123"); 
parseInt('foo'); 

NaN does not equal NaN, use the isNaN Function instead to test if a value is not a number

NaN === NaN; 
isNaN(NaN); 
Remarks

The NaN constant is a member of the Global object, and is made available when the scripting engine is initialized.

See also Other articles Attributions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4