Skip to content

use ECMAScript standard globalThis - #1682

Open
flyfishzy wants to merge 1 commit into
protobufjs:masterfrom
originjs:ohos
Open

use ECMAScript standard globalThis#1682
flyfishzy wants to merge 1 commit into
protobufjs:masterfrom
originjs:ohos

Conversation

@flyfishzy

Copy link
Copy Markdown

globalThis is ready for ECMAScript standard. In strict mode this will be undefined, use globalThis the code will work in window and non-window contexts.

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.

1 participant