Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

infinity javascript

const maxNumber = Math.pow(10, 1000); // max positive number

if (maxNumber === Infinity) {
  console.log('Let's call it Infinity!');
}

console.log(1 / maxNumber);
 
PREVIOUS NEXT
Tagged: #infinity #javascript
ADD COMMENT
Topic
Name
5+2 =