THIS.keyword


#1

Hello, I was wondering if anyone could refresh me memory on why we would use the THIS keyword. Also why would we write the following line of code:
this.name = name;
Why does this work? Thanks in advance!


#2

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/this