Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

JavaScript Infinity

const a = 2 / 0;
console.log(a); // Infinity

const a = -2 / 0;
console.log(a); // -Infinity
 
PREVIOUS NEXT
Tagged: #JavaScript #Infinity
ADD COMMENT
Topic
Name
2+8 =