Logo
HTMLCSSJavaScriptReactjsnewContactUpdates

Get started today

HTMLCSSJavaScriptReactjsnewContactUpdates

Tools

Resume BuilderQR GeneratorVS Code Editor

Connect

GitHubWhatsApp Channel
constructor function
destructuring

Javascript This Keyword

By Saket Bhatnagar•June 15, 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: July 15, 2025

Join Our Community

Login to Join

© 2025 Saket Bhatnagar. All rights reserved.

    ☕