Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

31.27 예제 정답 오류 수정 #3

Merged
merged 1 commit into from
Oct 24, 2022
Merged

Conversation

rbals0445
Copy link

[Boundary-type assertions](https://github.com/wikibook/mjs/blob/master/31.md#31-27)

target.match(regExp); // -> [" ", " ", ",", " $%&"]  여기 결과가, length가 4인것처럼 나와있지만 실제로는

[" ", " ", "," , " ", "$%&"]  length가 5 되어야 합니다.

정답 : ' _$%&' 이라서 공백 이후에 $%& 나와야 합니다. [' ', '$%&']
오류 : " $%&" 으로 공백이 포함되어 나와있습니다.
  • 실행결과 첨부합니다

image


  • 정오표같은것을 어디서 확인할 수 있나요?
    감사합니다~

@wikibook wikibook merged commit 410424e into wikibook:master Oct 24, 2022
@wikibook
Copy link
Owner

wikibook commented Oct 24, 2022

@rbals0445 님, 안녕하세요. 위키북스 담당자입니다.
보내주신 내용을 확인했고, 말씀하신 것처럼 수정해야 맞습니다.

정오표 내용은 도서 홈페이지의 [정오표] 탭에서 확인하실 수 있습니다.

https://wikibook.co.kr/mjs/

책의 오류를 바로잡을 수 있게 알려주셔서 감사드리고, 해당 오류는 다음 인쇄 때 반영하도록 하겠습니다.
그럼 오늘도 좋은 하루 보내세요!
고맙습니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants