# platform.global

Variable · category: Other

Source: https://github.com/playcanvas/engine/blob/b5b983982a9860d21e0c1dafb2f85f72e2c01afb/src/core/platform.js#L65

The global object. This will be the window object when running in a browser and the global
object when running in nodejs and self when running in a worker.

```ts
const global: any
```
