Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You can interpret a JSON string using the method JsON. parse ), which takes a string containing a JSON-serialized object and breaks it up, creating
You can interpret a JSON string using the method JsON. parse ), which takes a string containing a JSON-serialized object and breaks it up, creating an object with properties corresponding to the "parameter" : "value" pairs found in the string. var Mary= '{ "height":5.2, "age":36, "eyeColor'' : "brown"}'; // use JSON.parse) to create an object 'objectMary: var objectMary JSON.parse (Mary)E You task here is: 1) Add an additional line after the existing code to log the value of Mary's age to the console. [10 pts
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started