MCQs > IT & Programming > JSON > What is the value of json in the following code? var days = {}; days['Monday'] = true; days['Wednesday'] = true; days['Sunday'] = false; var json = JSON.stringify({x: days});

JSON MCQs

What is the value of json in the following code? var days = {}; days['Monday'] = true; days['Wednesday'] = true; days['Sunday'] = false; var json = JSON.stringify({x: days});

Answer

Correct Answer: {"x":{"Monday":true,"Wednesday":true,"Sunday":false}}

Explanation:

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

JSON Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

JSON Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it