crop_rotate
Run
<!DOCTYPE html> <html> <body> <h2>JavaScript Number Methods</h2> <p>The isInteger() method returns true if the argument is an integer.</p> <p>Otherwise it returns false.</p> <p id="demo"></p> <script> document.getElementById("demo").innerHTML = Number.isInteger(10) + "<br>" + Number.isInteger(10.5); </script> </body> </html>
JavaScript Number Methods
The isInteger() method returns true if the argument is an integer.
Otherwise it returns false.