JavaScript can only safely represent integers up to Number.MAX_SAFE_INTEGER and down to Number.MIN_SAFE_INTEGER: