this keyword used on properties and methods when creating a new object in JavaScript
Hello guys, I just read that the purpose of the this keyword is to refer to the current object being executed... so writing something like this.name = name means that on that object particular being refered, we want to assign the name to it. This makes sense when we want to use a property but why should methods also have the this keyword?
