Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
안녕하세요, 책의 예제를 보고 오류를 발견해서, 수정 후 PR 드립니다.
수정사항
인덱스드 엑세스 타입 예제 코드에 수정사항이 있습니다.
(1) PromotionList 객체 배열의 마지막 요소에 오타가 있어 변경: chee-up -> cheer-up
※ 출판 도서에서는 수정 되어 있음. 대신 객체에 쉼표가 없음...
(2) 인덱스드 엑세스 타입 부분에 에러가 발생해서 수정: (아래 참조)
수정 전
수정 후