var smallNumber = -Number.MAX_VALUE * 10if (smallNumber == Number.NEGATIVE_INFINITY){ firstFunction()}else{ secondFunction()}