Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
AJAX
VB.NET
SQL Query
UDDI
CLASS
JavaScript Questions
SharePoint Interview
SilverLight
WCF
general knowledge
 ASP.NET
 :) Hot Jobs
 
 :) Latest Articles


  

 


What is undefined and undeclared in JavaScript?
Question Posted on 14 Apr 2022

Home >> JavaScript >> JavaScript Questions >> What is undefined and undeclared in JavaScript?




What is undefined and undeclared in JavaScript?
In JavaScript undefined variable are those variables which are declared in program but not given any of the value. And the program tries to read the value of these undefined variables then it will return undefined value.
But in JavaScript undeclared variables are those which are not exist in program and are not declared. And if program tries to read the value of an undeclared variable then runtime error is encountered.
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
regular expression for credit card like VISA, MASTER, AMEX
How to remove item from dropdownlist in Javascript
Different Data Types in Javascript in 2015?
syntax to get dropdownlist text in javascript
The snippet that has to be used to check if “a” is not equal to “null” is _________






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |