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

fix globals: global, process #1

Open
wants to merge 1 commit into
base: pr-merge
Choose a base branch
from

Conversation

mathiscode
Copy link
Member

PR merged from upstream jvilk#298 from @pkit

both globals may not be available in embedded environments

there is no need to call process at all if it's not there
there is a standardized global object now:
globalThis, it should be
used as the last resort

both globals may not be available in embedded environments

there is no need to call `process` at all if it's not there
there is a standardized `global` object now:
[globalThis](https://github.com/tc39/proposal-global), it should be
used as the last resort
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.

2 participants