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 event bubbling and event capturing in javascript?

0 Answers  


How to associate functions with objects using javascript?

0 Answers  


What is the difference between sessionstate and viewstate?

0 Answers  


Entire content of a JavaScript source file in a function block?

0 Answers  


How do you write an event emitter base class that allows you to add event listeners?

0 Answers  






How to get checkbox status whether it is checked or not?

0 Answers  


Event handler Example

1 Answers  


Is JavaScript a case-sensitive language?

0 Answers  


What are the boolean operators supported by javascript? And operator: &&

0 Answers  


What are the different actions that are performed using javascript?

0 Answers  


Are you concerned that older browsers don't support javascript and thus exclude a set of web users? Individual users?

0 Answers  


what is service now ticketing tool how it works

0 Answers   Ideal Vision,


Categories