javascript how to tell if a variable is an int code example Example: javascript is number an integer Number.isInteger(value) //returns a Boolean