Consider the following code: 1 2 3 4 5 (function() { var a = b = 5; })(); console.log(b); what will be printed on the console?


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

Post New Answer

More JavaScript Interview Questions

What is the method for reading and writing a file in javascript?

0 Answers  


How to loop through array in javascript?

0 Answers  


What happens when the recursion calling is applied on two functions?

0 Answers  


What close() does in javascript?

0 Answers  


Are javascript variables global?

0 Answers  






What is argument objects in javascript?

0 Answers  


How to test a string as a literal and as an object ?

0 Answers  


how do you declare variables in javascript?

0 Answers  


Can you explain how inheritance works in javascript?

0 Answers  


Why is javascript good for websites?

0 Answers  


What is the use of a date object in javascript?

0 Answers  


How do you trim in javascript?

0 Answers  


Categories