check if number is integer javascript es6 code example Example: javascript is number an integer Number.isInteger(value) //returns a Boolean