We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
안녕하세요. 글 잘 읽고 있는 와중에 예제가 잘못된 부분이 있는 것 같아 이슈남깁니다.
https://yceffort.kr/2023/05/what-is-commonjs
위 부분이 코드가 완전 동일한데 로그값이 다르게 나온다고 나와있어서요. 둘 중 위 예제가 module.exports = 가 아닌 exports = 로 바뀌어야 하는 것 아닌가 해서 여쭤봅니다. 혹시 제가 착각한 부분이 있다면 말씀해주세요.
module.exports =
exports =
위 예제에서 module2.js 가 빠져있는 것 뿐만아니라 결과에 setTimeout 콜백의 콘솔 로그 값도 추가하면 좋겠다고 생각해 적어둡니다!
setTimeout
오타가 존재합니다!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
안녕하세요. 글 잘 읽고 있는 와중에 예제가 잘못된 부분이 있는 것 같아 이슈남깁니다.
https://yceffort.kr/2023/05/what-is-commonjs
1)
위 부분이 코드가 완전 동일한데 로그값이 다르게 나온다고 나와있어서요. 둘 중 위 예제가
module.exports =
가 아닌exports =
로 바뀌어야 하는 것 아닌가 해서 여쭤봅니다. 혹시 제가 착각한 부분이 있다면 말씀해주세요.2)
위 예제에서 module2.js 가 빠져있는 것 뿐만아니라 결과에
setTimeout
콜백의 콘솔 로그 값도 추가하면 좋겠다고 생각해 적어둡니다!3)
오타가 존재합니다!
The text was updated successfully, but these errors were encountered: