Why Infinity equals to Infinity in Javascript? Please consider following examples:
Math.pow(10,1000)
The above will evaluate to Infinity.
Math.pow(11,1000)
The above will evaluate to infinity as well.
However in actual Math.pow(11,1000) is greater than Math.pow(10,1100). Please help me to understand the reason behind them being equal.