SSSagar Shiroyainsagarshiroya.hashnode.dev00global and globalThis in JavaScriptMar 8 · 4 min read · When we already have global object, why do we need globalThis in JavaScript? I got same question when I came across the term globalThis for the first time. TL;DR In this article, we will understand: Join discussion
SSSagar Shiroyainsagarshiroya.hashnode.dev00JS Value Types - Primitives, Objects & CoercionMar 4 · 15 min read · There's one popular saying about JavaScript JavaScript is the only language developers don’t learn to use before using it. Mostly new developers say that JS don't have types as we don't need to explJoin discussion
SSSagar Shiroyainsagarshiroya.hashnode.dev00JavaScript Promise Functions from Mahabharat perspectiveMar 1 · 3 min read · 🌟 What is a JavaScript Promise? In JavaScript, a Promise is an object that represents the future result of an action. It has three states: Pending – the action is still happening. Fulfilled (ResolvJoin discussion
SSSagar Shiroyainsagarshiroya.hashnode.dev00Power of JavaScript's this keyword Feb 22 · 9 min read · 1. this in global context // `this` inside global space console.log(this); // global object Javascript not only runs on browser. It runs on many different devices and environments as well as on node.Join discussion
SSSagar Shiroyainsagarshiroya.hashnode.dev00Explaining Vector Embeddings to My Mom (Indian Style)Aug 15, 2025 · 2 min read · Imagine we’re in D-Mart on a Sunday. It’s crowded, there are hundreds of products, and we’re trying to find exactly what we need without wasting time. That’s what Vector Embeddings help computers do, Join discussion