OSOm Shirbhateindev-ops-blogs.hashnode.dev·Sep 11 · 13 min readUnderstanding the this Keyword in JavaScriptJavaScript 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 functi00
SPSaurav Pratap Singhinsaurav26.hashnode.dev·Mar 29 · 5 min readWindow vs Global vs GlobalThisJavaScript looks simple on the surface, but once you start writing code that runs in different environments (like browsers and Node.js), things can get tricky. One such concept is the global object an20
AGAryan Guptainaryan-blog.hashnode.dev·Mar 17 · 3 min readUnderstanding global vs globalThis in JavaScript1. What is global? global is a Node.js-specific global object. Think of it like a big container(Object) which holds everything that is present in your Node app. means whatever stored in Node app, is 00
AJAyush Jaininayushjjainn.hashnode.dev·Mar 12 · 14 min readwindow, global, globalThis: Three Names. One Thing in JavascriptLast year I went to IIT Indore for a hackathon. After the event, me and my friends decided to explore Indore a bit since we had never been there. We ended up near Shri Annapurna Temple and found this 00
ASAbdul Samadinabdulsamad30.hashnode.dev·Mar 12 · 21 min readUnderstanding global and globalThis in JavaScript: A Practical GuideIntroduction When you write JavaScript code, some functions and objects are always available no matter where you are in your program. You can call setTimeout(), use console.log(), or access Math.rando00
ACARKPARAVA CHAKRABORTYinunderstand-and-build-in-web.hashnode.dev·Mar 11 · 5 min readFrom global to globalThis: JavaScript’s Universal Global ObjectImagine you are a world traveller, you love to travel the world meet new people. One day you land on New York, USA and you need to charge your phone. You look at the wall and see a Type A socket. You 10
DBDebabrata Barindebwrites.hashnode.dev·Mar 11 · 4 min readglobal vs globalThis and its gotchas : Every Developer Should KnowThe Context If you are a JS developer you must be knowing what scope means in JavaScript . Basically scope means a logical place in memory where any variable , functions or objects stored . There is g00
SSaumyainblog.saumyagrawal.in·Mar 10 · 8 min readBeyond window: Understanding global and globalThis in JavaScriptWhen 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 00
SRSaurabh Ravteinsaurabh-ravte.hashnode.dev·Mar 10 · 6 min readUnderstanding global & globalThis in Node.jsWhat is a "global scope" anyway? Before we look at global or globalThis, let's understand the concept they both represent. Every JavaScript program runs inside a scope think of a scope as a room. Vari00
AAAsghar aliinasgharalifs.hashnode.dev·Mar 9 · 5 min readThe Global Object in Node.js What It Is and How It WorksYou 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 it00