const maxNumber = Math.pow(10, 1000); // max positive number if (maxNumber === Infinity) { console.log('Let's call it Infinity!'); } console.log(1 / maxNumber);