MCQs > IT & Programming > Ajax > choose the option that shows the output to the console log

Ajax MCQs

For the following code fragment function Foo() { this.data = 42, document.body.onclick = this.method.bind(this); } Foo.prototype.method = function() { console.log(this.data); }; choose the option that shows the output to the console log

Answer

Correct Answer: 42

Explanation:

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

Ajax Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Ajax Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it