---
title: "#global-and-globalthis articles | Hashnode"
description: "Explore 14 articles tagged #global-and-globalthis on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/global-and-globalthis"
---

Tag

# #global-and-globalthis

14 posts · 0 followers

[Om Shirbhate](https://hashnode.com/@omshirbhate) · [Sep 11](https://hashnode.com/posts/understanding-the-this-keyword-in-javascript/6aa422708f2ec9d1785083b7)

### [Understanding the this Keyword in JavaScript](https://dev-ops-blogs.hashnode.dev/understanding-the-this-keyword-in-javascript?utm_source=hashnode&utm_medium=feed)

JavaScript has a special keyword called this. At first, this can feel confusing because its value is not fixed. It can change depending on where the code is running and, most importantly, how a functi

13 min read · [dev-ops-blogs.hashnode.dev](https://dev-ops-blogs.hashnode.dev/understanding-the-this-keyword-in-javascript?utm_source=hashnode&utm_medium=feed)

[Saurav Pratap Singh](https://hashnode.com/@saurav26) · [Mar 29](https://hashnode.com/posts/globalthis/69c8968e7816e434a0dcd480)

### [Window vs Global vs GlobalThis](https://saurav26.hashnode.dev/globalthis?utm_source=hashnode&utm_medium=feed)

Understand the difference between global window and globalThis, the need of using it and how different datatypes behave in different environments.

5 min read · [saurav26.hashnode.dev](https://saurav26.hashnode.dev/globalthis?utm_source=hashnode&utm_medium=feed)

[Aryan Gupta](https://hashnode.com/@aryan-blog) · [Mar 17](https://hashnode.com/posts/understanding-global-vs-globalthis-in-javascript/69b92afc3cc3ab373f995551)

### [Understanding global vs globalThis in JavaScript](https://aryan-blog.hashnode.dev/understanding-global-vs-globalthis-in-javascript?utm_source=hashnode&utm_medium=feed)

Understand the difference between global and globalThis in JavaScript and when to use each for writing clean, cross-platform code.

3 min read · [aryan-blog.hashnode.dev](https://aryan-blog.hashnode.dev/understanding-global-vs-globalthis-in-javascript?utm_source=hashnode&utm_medium=feed)

[Ayush Jain](https://hashnode.com/@ayushjjainn) · [Mar 12](https://hashnode.com/posts/window-global-globalthis-javascript/69b3009b93256dfc53fcecca)

### [window, global, globalThis: Three Names. One Thing in Javascript](https://ayushjjainn.hashnode.dev/window-global-globalthis-javascript?utm_source=hashnode&utm_medium=feed)

Three names, one object. Why window breaks in Node.js, why global fails in browsers, and how globalThis finally fixed it.

14 min read · [ayushjjainn.hashnode.dev](https://ayushjjainn.hashnode.dev/window-global-globalthis-javascript?utm_source=hashnode&utm_medium=feed)

[Abdul Samad](https://hashnode.com/@AbdulSamad30) · [Mar 12](https://hashnode.com/posts/javascript-global-globalthis-explained/69b28426f22e712aaa4ac3c3)

### [Understanding global and globalThis in JavaScript: A Practical Guide](https://abdulsamad30.hashnode.dev/javascript-global-globalthis-explained?utm_source=hashnode&utm_medium=feed)

Understanding global, window, and globalThis in Modern JavaScript

21 min read · [abdulsamad30.hashnode.dev](https://abdulsamad30.hashnode.dev/javascript-global-globalthis-explained?utm_source=hashnode&utm_medium=feed)

[ARKPARAVA CHAKRABORTY](https://hashnode.com/@arkapravachakraborty) · [Mar 11](https://hashnode.com/posts/javascript-global-globalthis/69b19b916c896b0519a9d240)

### [From global to globalThis: JavaScript’s Universal Global Object](https://understand-and-build-in-web.hashnode.dev/javascript-global-globalthis?utm_source=hashnode&utm_medium=feed)

Why different JavaScript environments had different global objects and how globalThis finally unified them.

5 min read · [understand-and-build-in-web.hashnode.dev](https://understand-and-build-in-web.hashnode.dev/javascript-global-globalthis?utm_source=hashnode&utm_medium=feed)

[Debabrata Bar](https://hashnode.com/@devh3r3) · [Mar 11](https://hashnode.com/posts/global-vs-globalthis-javascript/69b1cd3c6c896b0519c17668)

### [global vs globalThis and its gotchas : Every Developer Should Know](https://debwrites.hashnode.dev/global-vs-globalthis-javascript?utm_source=hashnode&utm_medium=feed)

H1 Global vs globalThis in JavaScript: What Every Developer Should Know H2 What is the Global Object in JavaScript? H2 The Problem Before globalThis

4 min read · [debwrites.hashnode.dev](https://debwrites.hashnode.dev/global-vs-globalthis-javascript?utm_source=hashnode&utm_medium=feed)

[Saumya](https://hashnode.com/@saumyaetc) · [Mar 10](https://hashnode.com/posts/beyond-window-understanding-global-and-globalthis-in-javascript/69afe508af06a097c31b2382)

### [Beyond window: Understanding global and globalThis in JavaScript](https://blog.saumyagrawal.in/beyond-window-understanding-global-and-globalthis-in-javascript?utm_source=hashnode&utm_medium=feed)

When you wrote your first line of Node.js code, you probably typed console.log("Hello World") and it just worked. No import. No setup. Nobody told you where console came from, and at the time, it did

8 min read · [blog.saumyagrawal.in](https://blog.saumyagrawal.in/beyond-window-understanding-global-and-globalthis-in-javascript?utm_source=hashnode&utm_medium=feed)

[Saurabh Ravte](https://hashnode.com/@saurabhravte) · [Mar 10](https://hashnode.com/posts/understanding-global-globalthis-in-node-js/69afbc59af06a097c3fb2419)

### [Understanding global & globalThis in Node.js](https://saurabh-ravte.hashnode.dev/understanding-global-globalthis-in-node-js?utm_source=hashnode&utm_medium=feed)

A guide to the global scope what it is, why it exists, and when to use each one.

6 min read · [saurabh-ravte.hashnode.dev](https://saurabh-ravte.hashnode.dev/understanding-global-globalthis-in-node-js?utm_source=hashnode&utm_medium=feed)

[Asghar ali](https://hashnode.com/@asgharalifs) · [Mar 9](https://hashnode.com/posts/the-global-object-in-node-js-what-it-is-and-how-it-works/69af5002af06a097c3d6e796)

### [The Global Object in Node.js What It Is and How It Works](https://asgharalifs.hashnode.dev/the-global-object-in-node-js-what-it-is-and-how-it-works?utm_source=hashnode&utm_medium=feed)

You have heard many times that console.log() is not a JavaScript function. but you use it in your daily development, right so have you ever wonder so it's Javascript function how we are able to use it

5 min read · [asgharalifs.hashnode.dev](https://asgharalifs.hashnode.dev/the-global-object-in-node-js-what-it-is-and-how-it-works?utm_source=hashnode&utm_medium=feed)
