JavaScript - NEGATIVE_INFINITY Number Object

Last Updated Jul 29, 2015, 07:00:14 PM





The JavaSctipt NEGATIVE_INFINITY property is a constant, it is a read-only property of Number.

Anything multiplied by NEGATIVE_INFINITY is NEGATIVE_INFINITY, and anything divided by NEGATIVE_INFINITY is zero.


Syntax

Property Attrinbutes
Writable no
Enumerable no
Configurable no



Example
Try It Now


Other JavaScript Number Object Properties you might want to learn

MAX_VALUE

MIN_VALUE

POSITIVE_INFINITY



Browser compatibility

Feature
NEGATIVE_INFINITY Yes Yes Yes Yes Yes Yes Yes





Sources and Credits

The source of the content has been referred and updated with Mozilla Developer Network and W3C Organization

Last Updated Jul 29, 2015, 07:00:14 PM