JavaScript this Keyword Interview Questions 2026: 26 Q&A

What changed in 2026 drives
Mass-recruiter offer letters are flatter for 2026 batch - the 4-5 LPA ASE band has barely budged in three years while inflation eats real wages. Premium tracks (Digital, Pro, Elite, Specialist) are still where the differential lives, and they are entirely test-driven. If you are aiming higher than the default offer, the coding round is not optional pageantry - it is the entire interview.
What I'd actually study for this
- 01Two solid coding-round answers (1 medium-hard DSA each, with edge-case discussion) > five half-baked ones
- 02One real project you can defend end-to-end - file paths, design decisions, and what you would change
- 03One DBMS schema you actually built (not a textbook ER diagram), with at least 3 join-heavy queries written from memory
- 04Three behavioural STAR stories: failure recovered, conflict handled, ownership taken
Where most candidates trip up
The single biggest mistake is treating company-specific guides as primary prep and DSA as secondary. It is the opposite. Mass recruiters use the test as a filter, but premium tracks at every IT services company use coding to allocate offer band. Spend 70% of prep time on DSA + system fundamentals, 20% on company-specific patterns, 10% on HR rehearsal. Reverse that ratio and you collect the default offer.
Editorial commentary by Aditya Sharma · written for PapersAdda · not generated, not aggregated.
Last Updated: June 2026 | Level: Freshers to Mid-Level | Read Time: ~15 min
The this keyword is the single most misunderstood part of JavaScript, which makes it an interview favourite. Candidates report that call-site binding, the call/apply/bind trio, and arrow-function behaviour are guaranteed for frontend roles. This guide covers 26 this questions with full answers and predict-the-output traps. Behaviour reflects the official MDN documentation; confirm any binding nuance on MDN.
Pair this with JavaScript Interview Questions for Freshers 2026 and JavaScript Output Questions 2026.
Table of Contents
- Binding Rules (Q1 to Q10)
- call, apply, bind (Q11 to Q17)
- Arrow Functions (Q18 to Q22)
- Advanced (Q23 to Q26)
- Predict the Output
- Quick Revision Table
- Frequently Asked Questions
Binding Rules
Q1. What does this refer to in JavaScript? Easy
Q2. What are the rules that determine this? Hard
Q3. What is implicit binding? Medium
const obj = { x: 1, get() { return this.x; } };
obj.get(); // 1, this is obj
Q4. What is default binding? Medium
Q5. What happens to this when a method is detached? Hard
const get = obj.get;
get(); // undefined or error, lost binding
Q6. What is new binding? Medium
Q7. What is this at the top level of a script? Medium
Q8. What is this inside a regular function called normally? Easy
Q9. Does this depend on where a function is defined? Medium
Q10. What is this inside a setTimeout callback? Hard
call, apply, bind
Q11. What does call do? Medium
function greet() { return this.name; }
greet.call({ name: "A" }); // "A"
Q12. What does apply do? Medium
Q13. What does bind do? Medium
const bound = greet.bind({ name: "B" });
bound(); // "B"
Q14. What is the difference between call, apply, and bind? Medium
Q15. Can you override a bound function's this with call? Hard
Q16. What is partial application with bind? Medium
Q17. What does new do to a bound function? Hard
Arrow Functions
Q18. How does this work in an arrow function? Medium
Q19. Why are arrow functions bad as object methods? Medium
Q20. Why are arrow functions good for callbacks? Medium
Q21. Can you change an arrow function's this with call or bind? Hard
Q22. Do arrow functions have their own arguments object? Medium
Advanced
Q23. What is this in a class method? Medium
Q24. How do you preserve this in a React-style event handler? Medium
Q25. What is this in an event listener callback? Hard
Q26. What is the difference between this and self in older code? Medium
Predict the Output
Snippet 1
const obj = {
name: "A",
regular() { return this.name; },
arrow: () => this.name
};
console.log(obj.regular(), obj.arrow());
Output:
A undefined
Why: The regular method binds this to obj. The arrow inherits this from the outer scope (not obj), so this.name is undefined.
Snippet 2
function f() { return this.x; }
const a = f.bind({ x: 1 });
console.log(a.call({ x: 2 }));
Output:
1
Why: Once bound to {x:1}, a later call cannot override the bound this. The bound value wins.
Snippet 3
const obj = {
vals: [1, 2, 3],
sum() { return this.vals.reduce((a, b) => a + b, 0); }
};
console.log(obj.sum());
Output:
6
Why: sum is called on obj so this is obj; the arrow callback in reduce does not need this, so it works correctly.
Quick Revision Table
| Rule | this value |
|---|---|
| new binding | the new object |
| explicit (call/apply/bind) | the given thisArg |
| implicit (obj.method) | the object before the dot |
| default (plain call) | global or undefined (strict) |
| arrow function | lexical enclosing scope |
| bound function | fixed, call cannot override |
Frequently Asked Questions
What this question is asked most in JavaScript interviews in 2026?
Candidates report that how this is determined by the call site, the difference between call, apply, and bind, and why arrow functions do not have their own this are the three most repeated questions on the this keyword.
Why do arrow functions not have their own this?
Arrow functions inherit this from the enclosing lexical scope at definition time, which makes them ideal for callbacks but unsuitable as object methods that need their own this.
What is the difference between call, apply, and bind?
call and apply invoke a function immediately with an explicit this, call taking arguments individually and apply taking an array. bind returns a new function permanently bound to that this without calling it.
Why does a detached method lose its this?
Because this is set by the call site, and calling a detached method plainly triggers default binding (global object or undefined in strict mode) rather than the original object. Use bind or an arrow wrapper to preserve it.
Can call override a bound function's this?
No. Once bound with bind, the this is fixed and a later call or apply cannot change it. This permanence is by design, though new on a bound function is a documented exception.
Related Articles
- JavaScript Interview Questions for Freshers 2026, the master set
- JavaScript Output Questions 2026, this and binding traps
- JavaScript Closures Interview Questions 2026, scope and closures
- JavaScript Async Await Interview Questions 2026, the event loop
Confirm any binding semantics on the official MDN documentation before your interview. This guide reflects candidate-reported patterns and public preparation resources as of June 2026.
Methodology applied to this articlelast verified 8 Jun 2026
- No fabricated salary numbers or success rates. If we quote a range, it's sourced.
- No noun-substituted templates. This article was not generated by swapping company names in a stock prompt.
- No paid placements, sponsored coaching links, or affiliate-shilled course pushes.
Explore this topic cluster
More resources in Interview Questions
Use the category hub to browse similar questions, exam patterns, salary guides, and preparation resources related to this topic.
Company hub
Explore all JavaScript this Keyword resources
Open the JavaScript this Keyword hub to jump between placement papers, interview questions, salary guides, and other related pages in one place.
Open JavaScript this Keyword hubPaid contributor programme
Sat JavaScript this Keyword this year? Share your story, earn ₹500.
First-person experience reports help future candidates prep smarter. We pay verified contributors ₹500 via UPI per accepted story - with byline.
Submit your story →Ready to practice?
Take a free timed mock test
Put what you learned into practice. Our mock tests match the 2026 pattern with timer, navigator, reveal, and score breakdown. No signup.
Start Free Mock Test →Related Articles
AI/ML Interview Questions 2026: 50 Answers [Verified]
AI/ML engineer is the highest-paid engineering role in 2026, with median compensation exceeding $200K at top companies. But...
Airbnb Interview Questions 2026: Top Tech, HR & Behavioural Q&As for Freshers
Clearing Airbnb's fresher loop in 2026 comes down to preparing for the exact mix of questions across technical, behavioural,...
Airtel Interview Questions 2026: Top Tech, HR & Behavioural Q&As for Freshers
Clearing Airtel's fresher loop in 2026 comes down to preparing for the exact mix of questions across technical, behavioural,...
AMCAT Automata Coding Questions 2026: 2Q Compiler Score Guide
![AMCAT Automata coding questions 2026 two-question compiler split and quality-score map for...
AMD Interview Questions 2026: Top Tech, HR & Behavioural Q&As for Freshers
Clearing AMD's fresher loop in 2026 comes down to preparing for the exact mix of questions across technical, behavioural,...
More from PapersAdda
Accenture Interview Process 2026: Rounds & Prep
Accenture Interview Questions 2026 (with Answers for Freshers)
Adobe Interview Process 2026: Rounds, OA & Aptitude
AI Video Interview Tips for Freshers 2026: One-Way vs Adaptive Decoded