JavaScript ES2020 - globalThis

added by JavaScript Kicks
11/16/2019 11:26:43 AM

344 Views

The new ES2020 standard contains several important additions to JavaScript. One of the more interesting additions, which also happens to be one of the easiest to understand, is called globalThis. Sometimes, especially in test scripts (but not only!), we need to access the global scope. What's the global scope you ask?


0 comments