Category Archives: Featured post

Walkthrough with null and undefined in JavaScript

In this article I will try to explain about the null and undefined in JavaScript. We will discuss the difference and uses of both.

Basically undefined is the type in the JavaScript. undefined value is returned when you use an object property that does not exist, or a variable that has been declared without assigning any value. It is not a reserved keyword so you can write a undefined as method or variable name. See the following code. Continue reading Walkthrough with null and undefined in JavaScript