Description

book의 title을 이용해서 코드 2번째 줄이 책의 제목을 출력하도록 만들어 보세요.


객체의 속성에 접근하는 방법은 두 가지가 있습니다.

  • 객체이름.속성이름
  • 객체이름["속성이름"] 아래의 예를 참고하여 문제를 해결해 보세요.
var man = { name : "홍길동", age : 20};

console.log(man.name);       // 홍길동이 출력됩니다.
console.log(man["name"]);    // 홍길동이 출력됩니다.
  • You need to fill in the blank with the appropriate code.
  • You cannot modify the given code.
  • An error message will appear in the result if you leave the blank empty.
Result Stop
Result of [Run Test] or [Submit] will be displayed here
내가 제출한 코드가 왜 틀렸는지 프로그래머스 AI에게 물어보세요.
제출 후 채점하기를 눌러 30점 이상인 경우 물어볼 수 있어요.
베타 기간 동안에는 한 문제당 1번만 물어볼 수 있어요.