MCQs > IT & Programming > JavaScript > Result of c? function a(name) {this.name = name;} var b = new a(); var c = typeof(b.name);

JavaScript MCQs

What is the result of c in the following code snippet?

function a(name) {this.name = name;}
var b = new a();
var c = typeof(b.name);


Answer

Correct Answer: undefined

Explanation:

Note: This Question is unanswered, help us to find answer for this one

JavaScript Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

JavaScript Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it