What is “this” In JS #1

what this is not

Hack of “this”

Forcefully pointing “this” to function-object:

Let's take one more example:

--

--

--

I am Software Developer. You can join me for outing on weekends.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How to use the End-to-End testing library for Google Assistant apps

GSoC 2021 SCoRe Lab: Week 2

Next.js OAuth with NextAuth.js

Designing Angular Presentation Components with Loosely Coupled Services

Storybook 6.5 is here!

Creating Enemy Explosions

Building a Full Stack Application as Part of Your Journey Into Full Stack Development

How Much Does It Cost To Maintain A Mobile App In 2022?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Badal Sharma

Badal Sharma

I am Software Developer. You can join me for outing on weekends.

More from Medium

Forms and inverse data flow in React

Internship Experience at LetsGrowMore

Hooks Concepts

Introduction to Data Structure and Algorithms With Modern JavaScript.