Tuesday, January 19, 2016

The this keyword in javascript explained

this keyword in Javascript is a source for confusion. The confusion is mostly due to the fact that the 'this' keyword is used differently in other languages compared to Javascript. I was also confused of this (Well I still am sometimes) as I was coming from a C# background where the 'this' keyword...