BillyRayPreachersSon
Programmer
Am I missing something really obvious here? I would expect this to alert "true", but it alerts "false":
Surely Number.MIN_VALUE represents the lowest possible number that JS can handle (which will be negative), and thus zero will always be greater than it?
Dan
Coedit Limited - Delivering standards compliant, accessible web solutions
[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
Code:
alert(0 > Number.MIN_VALUE);
Surely Number.MIN_VALUE represents the lowest possible number that JS can handle (which will be negative), and thus zero will always be greater than it?
Dan
Coedit Limited - Delivering standards compliant, accessible web solutions
[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]