In this tutorial, you will learn how to check if a variable is string in javascript. There are certain primitive types in javascript and string is one of them. As the name suggests, any variable that holds a plain text as its value is considered to be of string type. As you already know, javascript
In this tutorial, you will learn how to check if a number is a perfect square in javascript. The number which is a square of another number is known as a perfect square. For example, 81 is the perfect square of 9. Detecting whether a number is a perfect square or not is very easy,
In this tutorial, you will learn how to check if number is odd or even in javascript. The number which is divisible by 2 and has a remainder of 1 is known as an odd number. For example 1, 3, 5, 7, etc. On the other hand, the number which is divisible by 2 and
In this tutorial, you will learn how to check if number is odd in javascript. The number which is divisible by 2 and has a remainder of 1 is known as an odd number. For example 1, 3, 5, 7, etc. Detecting whether a number is odd or not is very easy, but it can
In this tutorial, you will learn how to check if number is even in javascript. The number which is divisible by 2 and has a remainder of 0 is known as an even number. For example 2, 4, 6, 8, etc. Detecting whether a number is even or not is very easy, but it can