check max number javascript code example Example: javascript int max console.log(Number.MAX_SAFE_INTEGER); // expected output: 9007199254740991