get max of two numbers javascript code example Example: javascript max number MAX_SAFE_INTEGER = 9007199254740991