In this tutorial, we'll explore three different ways to check if a value is a number in javascript, using the isinteger (), typeof (), and isnan () methods. The method returns true if the value is numeric, and. The isinteger () method in javascript accepts a single parameter, the value being tested.