What are undefined and undeclared variables?
Submitted by: AdministratorUndeclared variables are those that are not declared in the program (do not exist at all), trying to read their values gives runtime error. But if undeclared variables are assigned then implicit declaration is done .
Undefined variables are those that are not assigned any value but are declared in the program. Trying to read such variables gives special value called undefined value.
Submitted by: Administrator
Undefined variables are those that are not assigned any value but are declared in the program. Trying to read such variables gives special value called undefined value.
Submitted by: Administrator
Read Online JavaScript Job Interview Questions And Answers
Top JavaScript Questions
☺ | What are a fixed-width table and its advantages in JavaScript? |
☺ | Are Java and JavaScript the Same? |
☺ | What Boolean operators does JavaScript support? |
☺ | What does isNaN function do? |
☺ | To set all checkboxes to true using JavaScript? |
Top Top World Wide Web Categories
☺ | Cascading Style Sheet CSS Interview Questions. |
☺ | HTML5 Interview Questions. |
☺ | Basic Internet Interview Questions. |
☺ | Domain Name System (DNS) Interview Questions. |
☺ | JavaScript Interview Questions. |