---
id: 2847
title: use globalThis
state: CLOSED
labels:
  - enhancement
assignees:
  - tobiu
createdAt: '2022-01-24T07:34:18Z'
updatedAt: '2022-01-24T18:56:57Z'
githubUrl: 'https://github.com/neomjs/neo/issues/2847'
author: tobiu
commentsCount: 0
parentIssue: null
subIssues: []
subIssuesCompleted: 0
subIssuesTotal: 0
blockedBy: []
blocking: []
closedAt: '2022-01-24T18:56:57Z'
---
# use globalThis

the browser support looks decent now:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis

would be good inside Neo.mjs as well as the build scripts.

thanks nick! @canonic-epicure

## Timeline

- 2022-01-24T07:34:18Z @tobiu added the `enhancement` label
- 2022-01-24T07:34:19Z @tobiu assigned to @tobiu
- 2022-01-24T18:44:33Z @tobiu referenced in commit `6944af5` - "use globalThis #2847"
- 2022-01-24T18:54:46Z @tobiu referenced in commit `15a7550` - "use globalThis #2847"
- 2022-01-24T18:56:58Z @tobiu closed this issue

