Null, Undefined and Delete in Javascript
Unlike most other programming languages, you can use both undefined and null values in JavaScript. This can confuse someone who comes to JavaScript from another programming language. When an object is undefined, it means that it still has to be declared or has been declared and not given a value. Null is a special value…