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

Authorization and Authentication with AWS Cognito and React Native

Javascript, write it clean PART 1 : variables.

Princess Beatrice hath spilled the royal tea.

Hands-on ReactJS

Generate Fake Data in the Browser and Node.js Using Falso

Recursion in Angular Components

Using 3rd Party Library Inside Angular

A cool way of getting to know the Higher-Order Function Filter.

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

Second Largest number in an array

What is Reactjs Good for?

React.js fundamental 10 concepts

JavaScript: Get time differences in hours between two dates