Javascript

Topic: JS Data Types

What is undefined value means in JavaScript?

There can be multiple reasons of having undefined values1. Object does not exist. Like you create an object of a control which does not exists in your page and when you access it, it is undefined.2. No value is assigned to the object.3. If you are trying to access a property which does not exists for the object.

Browse random answers: