What will be the output of the following code?
function User(name) {
this.name = name || “Mike”;
}
var usr = new User(“VRU”)[“location”] = “John”;
Correct Answer: John
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More JavaScript MCQ Questions