0 / 60 seg.

How can you access the value of the "age" property in the following JSON object?

const json = '{"name":"John","age":30,"city":"New York"}';
const obj = JSON.parse(json);
const age = obj.age;