PJPreet Jaininpreet-jain.hashnode.dev·19h ago · 4 min readThe Secret Math Behind Every ChatGPT ReplyYou type: "can u fix mycode?? its brokenn ðŸ˜" Hit enter. Three seconds later, working code shows up. No judgment on the typos. No "please write proper English." Just help. Ever wondered what happens i00
PJPreet Jaininpreet-jain.hashnode.dev·May 10 · 4 min readJavaScript Operators: The Basics You Need to KnowOperators are the symbols that make things happen. Addition, comparison, logic — they power every piece of JavaScript you'll write. Here's what you need to know. Arithmetic Operators These do math. Yo00
PJPreet Jaininpreet-jain.hashnode.dev·May 10 · 4 min readUnderstanding the 'this' Keyword in JavaScriptThe word "this" sounds simple. In most languages, it refers to the current object — straightforward. But in JavaScript, this changes depending on how a function is called, not just where it's defined.00
PJPreet Jaininpreet-jain.hashnode.dev·May 10 · 5 min readThe Node.js Event Loop ExplainedJavaScript runs on a single thread. One thing at a time, in order. That sounds like a bottleneck, and it would be — except Node.js has a mechanism that keeps things moving even while waiting. That's t00
PJPreet Jaininpreet-jain.hashnode.dev·May 10 · 4 min readThe Magic of this, call(), apply(), and bind() in JavaScriptThe word this confuses a lot of JavaScript developers. In other languages, it's usually straightforward — this refers to the current object. In JavaScript, it depends on how the function is called, an00