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