Archive for April, 2022

                                           

Five rules to understand `this` in JavaScript.

One of the most confusing concepts in javascript is the usage of the keyword this. In most classical OOP like Java programming languages this is simply an instance of the class you are working on. However, in JavaScript, this could be many things. Here are simple five rules that always help me know what this […]