MCQs>IT & Programming>JavaScript>What is the value of c? var a = function(){ this.b = 1; } var b = function(){ this.b = new a().b; return 5; } var c = b() + new b();
JavaScript MCQs
What is the value of c? var a = function(){ this.b = 1; } var b = function(){ this.b = new a().b; return 5; } var c = b() + new b();
Answer
Correct Answer: Error thrown when running the code
Explanation:
Note: This Question is unanswered, help us to find answer for this one