KTKushagra Trivediinkushagrablogs.hashnode.dev00The Magic of this, call(), apply(), and bind() in JavaScriptMar 15 · 4 min read · In JavaScript, the keyword this is used to refer to the object that is calling a function. A simple way to understand this is to think of it as “who is calling the function.” Different ways of callingJoin discussion
MKMohit Kumawatinjava-script-basics.hashnode.dev00Magic of this, call, bind and apply in JSMar 14 · 6 min read · 1. Introduction Before jumping to any technical terms, let's start understanding this iin layman's language. Example:Let's suppose I'm at your home and ask you whose house is it, and you reply it's myJoin discussion
APAman Patelinamanpatel2529.hashnode.dev00The Magic of this, call(), apply(), and bind() in JavaScriptMar 14 · 5 min read · Hey everyone, Aman here! 👋 If there is one keyword in JavaScript that makes developers scratch their heads, it's this. It can feel like a shape-shifter, changing its identity depending on where and hJoin discussion
RSRitu Soodinjs-basics-series.hashnode.dev00The Magic of this, call(), apply(), and bind() in JavaScriptMar 14 · 5 min read · If you've ever looked at JavaScript code and thought: Why is this behaving differently here? What exactly do call(), apply(), and bind() do? Why do people call them “function borrowing” superpowersJoin discussion
HDHaradhan Dasinthemagic-of-this-call-apply-and-bind-in-javascript.hashnode.dev00The Magic of this, call(), apply(), and bind() in JavaScriptMar 13 · 7 min read · Let me start with a small story. Imagine there is a microphone on a stage.Anyone who holds that microphone gets to speak. Now here’s the interesting part: the microphone doesn't care who you are. WhoeJoin discussion
RTRachit Tanejainjswithrachit.hashnode.dev00The Magic of this, call(), apply(), and bind() in JavaScriptMar 12 · 6 min read · If you have spent any time learning JavaScript, you have likely encountered the this keyword. You have also likely felt completely betrayed by it when it didn't do what you expected. Don't worry—you aJoin discussion
PJPurakhnath Jyaniinpurakhnath-jyani.hashnode.dev00The Magic of this, call(), apply(), and bind() in JavaScriptMar 10 · 13 min read · Have you ever written a function that works perfectly in one place, but breaks mysteriously when you move it somewhere else? Or wondered why this sometimes points to your object, and other times pointJoin discussion
SAShriyansh Agarwalinshriyanshagarwal.hashnode.dev00Why Your 'this' Fails in JavaScript Interviews - call(), apply(), bind() ExplainedMar 9 · 11 min read · Introduction You have completed your graduation, and now you want to step into the Software Development industry. Your interview is tomorrow, and you are revising topics that the interviewer might askJoin discussion