MCQs > IT & Programming > JavaScript > What is the value of x? var obj = {}; obj['function'] = 123; x = obj.function;

JavaScript MCQs

Based on the following, what is the value of x? var obj = {}; obj["function"] = 123; x = obj.function;

Answer

Correct Answer: 123

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