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