Hosting Solutions
mobile_logo Table of Contents
seal_frontseal_back

Infinity

The Infinity property of the Global object represents a number that no number can be higher than. If negative Infinity is referenced, no number can be lower than it.

SyntaxInfinity
Determine if positive Infinity is higher than any other number: alert( Infinity > 10 ); Determine if negative Infinity is lower than any other number: alert( -Infinity < -500 );

JavaScript

Properties

bodycalleeclosedcookiedocumentdropEffecteffectAllowedfilesframeElementframeshistoryInfinityinnerHeightinnerHTMLinnerWidthlengthlocationlocationbarnameNaNnavigatornullopenerouterHeightparentprototypescreenstatetextContentundefined