Javatpoint Logo
Javatpoint Logo

JavaScript Number isFinite() method

The JavaScript number isFinite() method determines whether the given value is a finite number. It returns true if the value is a finite number, otherwise it returns false.


The isFinite() method is represented by the following syntax:


num - A number to be checked.


A Boolean value.

JavaScript Number isFinite() method example

Here, we will understand isFinite() method through various examples.

Example 1

Let's see a simple example of isFinite() method.

Test it Now


true true true 

Example 2

In this example, we will use isFinite() method with negative numbers.

Test it Now


true false 

Example 3

Let's see isFinite() method with some different test cases.

Test it Now


false false false 

Next TopicJavaScript Number

Youtube For Videos Join Our Youtube Channel: Join Now

Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA