Do you have to declare variables in javascript?



Do you have to declare variables in javascript?..

Answer / Pramod Kumar Bharti

Yes, variables must be declared in JavaScript before they can be used. However, JavaScript also supports implicit declaration of variables.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JavaScript Interview Questions

What do mean by NULL in Javascript?

1 Answers  


Which built-in method reverses the order of the elements of an array?

1 Answers  


List out all the falsifying tokens in Javascript?

1 Answers  


Write a program that inputs a 5-digit integer from the keyboard and prints if the input number is a palindrome or not. A palindrome is a number which has the same digit from either end.

1 Answers  


Why do we need to declare variables?

1 Answers  


How do I turn off javascript in chrome?

1 Answers  


How do you assign object properties?

3 Answers   Satyam,


How to test for bad numbers using javascript?

1 Answers  


How to write comment in JavaScript?

1 Answers  


Explain the process of document loading.

1 Answers  


What is noscript tag?

1 Answers  


List some features of javascript.

2 Answers  


Categories