In JavaScript, you must have used the ‘this’ keyword before. The ‘this’ keyword could mean different things in JavaScript depending on where you call it. The purpose of this article is to show you an easy way to identify what this would refer to in a particular scenario.

What is ‘this’ anyway?

‘this’ can be confusing (Photo by sydney Rae on Unsplash)

In JavaScript…

These three non-technical tips have proven essential in my career and has helped me become a better developer. The tips listed below are extracted from some good advice I received from senior developers, my own experience and by observing some experts at their work. …

Vishnu Sasidharan

I write code and tell stories

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