mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 11:36:23 +00:00
283 B
283 B
id | title |
---|---|
fd09c3db-f05d-4df2-9815-7ec4f88e341b | Infinity |
Description
Infinity and -Infinity represent positive and negative infinities
Syntax
console.log(Infinity - 1)
console.log(Infinity + 1)
console.log(-Infinity - 1)
console.log(-Infinity + 1)