All Posts In Knexjs

Understanding the 'this' Keyword in JavaScript: Anonymous Functions vs Arrow Functions
Adam C. |
The meaning of this in JavaScript can be a bit confusing, especially when using anonymous functions and arrow functions. When you use an anonymous function declared with the function keyword, the this keyword inside the function refers to the object that called the function. In other words, the this keyword is bound to the context of the function call.