zeninvader.com
A short explanation of bind and .this in JavaScript
We’ve noticed that many people which start to learn JavaScript are having difficulties when they try to understand certain concepts. Understanding how .this works it is one of these concepts. This is usually explained better in conjunction with bind function. JavaScript bind and .this in a simple way One way to explain this and to …