What will be the output of the following code?
const json = '{"name":"John","age":30,"city":"New York"}';
const hasAge = json.hasOwnProperty("age");
console.log(hasAge);
What will be the output of the following code?
const json = '{"name":"John","age":30,"city":"New York"}';
const hasAge = json.hasOwnProperty("age");
console.log(hasAge);