DEV Community


globalThis in a nutshell

obetomuniz profile image Beto Muniz ・1 min read

globalThis is a global object reference for client and server applications using JavaScript.

πŸ‘‰ It’s helpful to create cross-platform apps and libraries.

πŸ”’ Due to security, globalThis is a Proxy reference of the global object on the browser.

Enter fullscreen mode Exit fullscreen mode

Discussion (0)

Editor guide