Logo
HTMLCSSJavaScriptReactjsnewResourcesContactUpdates
Join

Get started today

HTMLCSSJavaScriptReactjsnewResourcesContactUpdates

Tools

Resume BuilderQR GeneratorVS Code Editor

Connect

GitHubWhatsApp Channel
constructor function
destructuring

Javascript This Keyword

By Saket Bhatnagar•December 12, 2025•Beginner to Intermediate

Table of Contents

  1. this keyword

this keyword

  1. 1It is a keyword.
  2. 2 It is a variable , which holds the reference.
  3. 3 In GEC it holds the address of window object.
  4. 4 It is a local variable of every function in js, and holds the address of window object. Except in Arrow function (for arrow function is stores undefined).
  5. 5 Inside object methods, 'this' holds the reference of current object(not in arrow function).

Share this article

Last updated: January 12, 2026

Saket Bhatnagar

I build products, share the playbooks, and pass along everything I learn so you can ship faster.

GitHubLinkedInYouTubeWhatsApp Channel

Quick Links

  • Updates
  • Resources
  • Resume Builder
  • Contact

WhatsApp

Builders Group

Real-time notes from my builds, weekend challenges, and accountability threads.

Shipping Notes Channel

Launch alerts + bite-sized lessons.

© 2025 Saket Bhatnagar. All rights reserved.

Always building, always learning.