Who’s Calling? Mastering this — call, apply & bind in JavaScript
1] What this Means in JavaScript
this refers to the object that is calling the function.
👉 Simple rule:“this = who is calling the function”
Example:
function show() {
console.log(this);
}
show();
prathameshbachhav13355.hashnode.dev3 min read