Understanding `this` in JavaScript
In this blog I will be going through this tricky JS interview question which lot of people find confusing initially.Let's get started.
1. What will be the output of this?
function Person(name) {
this.name = name;
this.getName = function () {
...
shbhuvnesh.hashnode.dev2 min read