09 assignment

jihyun·2021년 8월 10일
0
post-thumbnail
function accessArray() {
  //아래의 코드는 수정하지마세요.
  let myPlants = [
    {
      type: "flowers",
      list: [
        "rose",
        "tulip",
        "dandelion"
      ]
    },
    {
      type: "trees",
      list: [
        "fir",
        "pine",
        "birch"
      ]
    }
  ];
  
  // 아래에 코드를 작성해주세요.
  let foundValue = myPlants[1]['list'][1];
  // 아래의 코드를 수정하지마세요.
  return foundValue;
}

0개의 댓글