Let's set 'this' ourselves
In my previous blog, I've discussed the different ways 'this' value is set depending on the way we invoke it.
To recap,
If we invoke it on a constructor function - it gets set to the newly created object
If we invoke it on a method - it gets set ...
sneha-amruth.hashnode.dev4 min read