Javascript Number Type Question 3

Introduction

What is the output of the following code?


let myNum = 1000;
if (myNum < Number.MAX_VALUE) {
    console.log("Your number is of a reasonable size.");
} else {
    console.log("Your number is too large.");
}


Your number is of a reasonable size.



PreviousNext

Related