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

ES2020: globalThis #1181

Closed
2 tasks done
azu opened this issue Jun 20, 2020 · 0 comments · Fixed by #1187
Closed
2 tasks done

ES2020: globalThis #1181

azu opened this issue Jun 20, 2020 · 0 comments · Fixed by #1187

Comments

@azu
Copy link
Collaborator

azu commented Jun 20, 2020

globalThis - JavaScript | MDN

ブラウザならwindowオブジェクト、Node.jsならglobalオブジェクトとなります。
https://jsprimer.net/basic/function-this/#execution-context-this

これをまとめた概念としてglobalThis がES2020で追加されたことについてを追加する。

image

ここも globalThis に変更する

やること

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

Successfully merging a pull request may close this issue.

1 participant