The Infinity global property is a number that represents infinity. Infinity can be positive and negative. The positive infinity is a number greater than 1.797693134862315E+308 while the negative infinity is a number less than -1.797693134862316E+308.
Its syntax is:- Infinity
Its return is:- positive or negative infinity