Number.MIN_VALUE
function multiply(x, y) {
if (x * y < Number.MIN_VALUE) return 'Process as -Infinity';
return (x * y);
}
multiply(5e-324, 1); // 5e-324
multiply(-1.7976931348623157e+308, 2); // "Process as -Infinity"Description
Examples
MIN_VALUE μ¬μ©νκΈ°
MIN_VALUE μ¬μ©νκΈ°Last updated