What are global variables? How are these variable declared and what are the problems associated with using them?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More JavaScript Interview Questions

What are the main features of javascript?

0 Answers  


What is event bubbling in the dom?

0 Answers  


What is missing in my code? function numberTally(numList) { var evenTotal = 0; var oddTotal = 0; for (var i = 0; i <= numList.length; i++) { if i % 2 { // i is odd oddTotal += numList[i]; // or oddTotal = oddTotal + numList[i]; } else { // i is even evenTotal + numList[i]; } } alert(oddTotal); return evenTotal; }

0 Answers  


Explain how to detect the operating system on the client machine?

0 Answers  


Should you disable javascript?

0 Answers  


What is a function callback?

0 Answers  


How do I run code in browser console?

0 Answers  


What is enum size?

0 Answers  


What are the advantages of using JavaScript?

0 Answers  


What is difference between local variable and global?

0 Answers  


How about 3+5+"8"?

0 Answers  


Can any one tell me how Java is purely an Oops language

3 Answers  


Categories