- Notifications
You must be signed in to change notification settings - Fork846
eval 번역#167
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
eval 번역#167
Uh oh!
There was an error while loading.Please reload this page.
Conversation
1-js/99-js-misc/02-eval/article.md Outdated
The result of`eval` is the result of the last statement. | ||
`eval`은 마지막 문의 결과를 반환합니다. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
`eval`은 마지막문의 결과를 반환합니다. | |
`eval`은 마지막구문의 결과를 반환합니다. |
가 어떨까요?
1-js/99-js-misc/02-eval/article.md Outdated
The reason is simple: long, long time ago JavaScript was a much weaker language, many things could only be done with`eval`. But that time passed a decade ago. | ||
이유는 간단합니다. 오래 전, JavaScript는 훨씬 더 약한 언어였고 많은 것을`eval`만 사용하여 실행했습니다. 하지만 그 때는 10년 전에 지나갔습니다. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
10년 전에 지나갔습니다 라는 표현이 어색한 것 같아요 아래와 같은 표현은 어떤가요?
이유는 간단합니다. 오래 전, JavaScript는 훨씬 더 약한 언어였고 많은 것을`eval`만 사용하여 실행했습니다. 하지만그 때는 10년 전에 지나갔습니다. | |
이유는 간단합니다. 오래 전, JavaScript는 훨씬 더 약한 언어였고 많은 것을`eval`만 사용하여 실행했습니다. 하지만10년이 흘렀습니다. |
1-js/99-js-misc/02-eval/article.md Outdated
- Can access outer local variables. That's considered bad practice. | ||
- Instead, to `eval` the code in the global scope, use `window.eval(code)`. | ||
- Or, if your code needs some data from the outer scope, use `new Function` and pass it as arguments. | ||
`eval(code)`을 호출하면 코드 문자열을 실행하고 마지막 문의 결과를 반환합니다. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
역시문
보다는구문
이라 표현해줘야 명확할 것 같습니다.
`eval(code)`을 호출하면 코드 문자열을 실행하고 마지막문의 결과를 반환합니다. | |
`eval(code)`을 호출하면 코드 문자열을 실행하고 마지막구문의 결과를 반환합니다. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
역시
문
보다는구문
이라 표현해줘야 명확할 것 같습니다.
반영하겠습니다. 감사합니다 :-)
eval/article.md 번역 입니다. 리뷰 부탁드립니다.