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

[오번역수정] part 1 6.7 new Function #1676

Open
YongJaeHyun opened this issue Jan 5, 2023 · 0 comments
Open

[오번역수정] part 1 6.7 new Function #1676

YongJaeHyun opened this issue Jan 5, 2023 · 0 comments

Comments

@YongJaeHyun
Copy link
Contributor

YongJaeHyun commented Jan 5, 2023

오번역

new Function 문서

원문

image

번역문

image
형광색 친 문장은 앞뒤 문맥과 맞지 않고 원문에도 없는 문장이기 때문에 삭제하는 것이 좋을 것 같습니다.

번역

압축기가 동작한 이후엔, new Function으로 만든 함수 내부에서 외부 렉시컬 환경에 접근하려고 할 때 문제가 발생할 수 있죠.

함수 내부에서 외부 변수에 접근하는 것은 아키텍처 관점에서도 좋지 않고 에러에 취약합니다.

new Function으로 만든 함수에 무언갈 넘겨주고 싶다면 인수를 사용하세요.

이슈

형광색 친 문장은 앞뒤 문맥과 맞지 않고 원문에도 없는 문장이기 때문에 삭제하는 것이 좋을 것 같습니다.

Pull Request(PR)를 통해 수정할 의향이 있습니까?

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

No branches or pull requests

1 participant