사용자 객체에서 정보를 추출하여 "John"을 alert하십시오.

코드

var person = {
  firstName: "John",
  lastName: "Doe"
};

alert(person.firstName);